WPF AccessKeyManager annoying sound
I'm adding now some shortcut keys to my wpf application. I have one ComboBox and I want each item to be able to have a shortcut key. Now, I do this with custom class deriving from ComboBoxItem and...
View Article.Net 4.5.2 breaks Aero interop
Hi,I have a simple of example illustrating that a regression was introduced in .Net 4.5.2. This works in .Net 4.5.1. For the sake of discussion, I also tried the 4.5.3/4.6 preview and its still...
View ArticleHow to specify time Spans for Message Trace in wpf Application
I had been working on this report on Message trace in Office365. I would want to give filters for Startdate and enddate from my WPF(C#) application. How can i do that.i tried the following. When i...
View Articlerunning a XBAP application
Good day, i get this exception while running my XBAP applicationRequest for the permission of type 'System.Net.DnsPermission, System. Version=4.0.0.0, Culture=neutral,...
View ArticleIs this breaking the MVVM pattern?
We've been having discussions lately as to what is acceptable to put in the code behind of a view, and what should go in the view model. I seem to be a lone voice, and wanted to hear what others have...
View ArticleRight Click Treeview Item
Helloi have a treeview in my WPF / c# application.what happen?without selecting a treeviewItem, the right click is enabled and i got error each time. but if i've selected treeviewItem fisrt before...
View ArticleChanging brightness of window (Form)
Hi, I have a WPF application that have multiple forms/user controls. I would like reduce brightness of active form if form is ideal (No movement on the form) for 90 seconds and become dark gradually...
View ArticleCan't build a wpf project on a FIPS enabled system
System is Windows 7 Ultimate x64 with Visual Studio Pro 2012 RCThe system has FIPS enabled in the Local Security Policy.I create a new WPF project, try to build it and get the following errors:Error 1...
View ArticleHow To Load 3D models in wpf c# at runtime
hi all,Does anyone please help me on how to dynamically load any (.obj, .fbx) 3D model in wpf c# at runtimeRegrads
View ArticleManipulationBoundaryFeedback does not work in webbrowser in wpf
I am using ManipulationBoundaryFeedback to avoid the window from being dragged on touch device , this works fine will all the other controls except when the webbrowser. Any work Around for this? Thank...
View ArticleHow can I run my WPF application on Linux?
Hi everyone, We have built a medium size application in WPF application. Now we need to run that application in Linux. Is there anyway to run this application on Linux with minimum changes?Md. Nazmul...
View ArticleCreate "balloon arrow" in popup control
Hi, how can I create an balloon arrow in a popup control?This is my code:<!--Settings popup--><Popup PlacementTarget="{Binding ElementName=settingsButton}" StaysOpen="False" Placement="Top"...
View ArticleCombobox Binding
Hi,Today i'm trying to bind Combobox items to a navigation property (defined with EF).And i'm try to update a Texblock on item selected, but this item isn't really updated by the selection.So my...
View ArticleCannot update to database, shows "An unhandled exception of type...
Im doing a add case form using WPF but i can't seem to get it right. Below is a sample of my code, i cannot seem to get it to update my database. column name in my database is IncRpNo. I dont see why...
View ArticleGet UIElement form UITestControl or AutomationElement
Is there any possibility to get UIElement from UITestControl or AutomationElement?I tried to get it using HwndSource class but with no luck.WpfText uiTestTextBlock = ...; var textBlock =...
View ArticleDrawingContext.DrawImage not scaling down image properly depending on rect...
Hi,I am trying to make a tile of images using RenderTargetBitmap. But the tile towards the right and bottom side is not drawing properly. See below the code used and the image obtained . Any idea what...
View ArticleKnow when UIElement is shown on screen
Hi there,So I have a wrap panel with a scrollbar and I'm putting a bunch of controls in them. I would like to perform actions when the controls become visible (are scrolled into view), either just for...
View Article1251 codepage symbols showing in WPF controls.
Hi all!I have a problem with showing some 1251-codepage symbols in WPF controls, TextBox for example.I fill an array of bytes and convert it into a string using Encoding.GetString method:public partial...
View Articlex:Shared showing different behaviors
Below code shows two images correctly.<Window x:Class="Le1_41.ControlSharingWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleMultibinding and Validatios Rules
I have some doubts / questions regarding MultiBinding 1) What is the best way to use MultiBinding? Using ViewModel property directly or use the controls?public string Cantidad { get { return _cantidad;...
View Article