WPF XAML works different in windows 8
I'm using Visual Studio 2012 under Windows 8 for developing. Currently I'm developing app, which should work both in Windows 7 and Windows 8 (and even may be XP). Framework version - 4.0.I found that...
View ArticleGeneric.XAML template not properly applied in custom control
Hi,I created a custom control deriving from ContextMenu in VB.net language. It's default style is defined in the Generic.XAML being in the same assembly as the custom control. To configure this I added...
View ArticleDataTemplate.Triggers vs Style.Triggers
In order to change foreground color of ListBoxItem base on condition, I can do inside DataTemplate.Triggers:<ListBox.ItemTemplate> <DataTemplate> ......
View ArticleNotify Any UIElement below UIElement That Raises Notifiction In VisualTree
Hello everybody,I would like to know does an event route from the root to all leaf? Lets say I have a Button and Textblock. Button is close to the top level while Textblock is somewhere in the depth of...
View ArticleAnother ListBox DisplayMemberPath question...
Hello Guys! Imagine i got a listbox binded with a ListCollectionView of item's, let's say Person's and i have set the DysplayMemberPath of the ListBox to, "Name". Is there a way i can get the list of...
View ArticleWPF Image RBG Manipulation
Hi, I have a little side project that I've working on (WPF VB.Net). Basically its generates a gradient palette for use with some third party Infrared Thermography Software because I wanted to...
View Articlewpf + passing values from parent window to popup window
Hi ExpertsI have a parent window with a button, in that button click opening a popup window by using ShowDialog() method. I need to pass values from mainwindow to child window based on those values I...
View ArticleWPF Tiff Image Slideshow
Hi,I need to develop a WPF application which needs to display few tiff images. I need to develop a tiff image viewer which should have a button, on click of which the images in the tiff file should...
View Articlecustom items in Item template in Datagrid
HII have a datagrid in that for one column should bind control based on other column.examplecol1 col2 col31 ddl control_combobox2 radio control_radiobuttoncan...
View ArticleCertificação Microsoft WPF
Bom dia, Com a saída de certificação Exam 70-511, não haverá mais nenhuma certificação se especializando em wpf ou windows forms? Estou com essa duvida.
View ArticleCoded UI tests Does not clicks on the WPFButton in 'RAD TAB Control' grid
Hi,In My application the developer used the 'RAD TAB Control' for one of grid. In that grid i need to click WPFButton which is in the 'RAD TAB' grid.Actually I'm using VSTS 2010 Ultimate for automating...
View ArticleConvert a WPF Grid into a FlowDocument (for paginated printing)
I have a report view with lots of columns and rows in a tabular layout. It's created as a Grid control for displaying it on the screen. So far all's fine. Now this report needs to be printed.I can take...
View ArticleSelected item for mutilple datagrid's
Dear all, first of all please do not confuse with my question title.It is a single seleteditem on Multiple datagrid ( notmultipleselecteditems on a single datagrid) I have multiple datagrids ( say...
View ArticleImplementing a ViewModel for the First time
First of all I'm not sure if I should have marked this as a question or discussion as I'm trying to figure out how to implement MVVM in a simple WPF application so I will naturally develop more...
View ArticleCheckbox in a combobox?
I am trying to change my combobox to include a checkbox in front of every item. everything works fine until I wanted to set the displaymemberpath and selectedvaluepath. The error...
View ArticleDisplaying custom data in a combobox
Hi everyone,I need help in how to go about displaying custom data in a combobox. Basically what i'm doing is displaying the items of combobox as checkboxes. What I can't achieve is getting the combobox...
View ArticleButton Style Not Applied If Command Is Set
Hi,I have the following XAML:<Window x:Class="button3D.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View Articlecustom MultiDataTrigger support for Grid and StackPanel?
Hello,i need to use DataTriggers in a lot of pages, that have also be edited by customers in a simple way. In default Control Triggers i can only use EventTriggers. I dont want to use DataTemplate on...
View ArticleUsing EF5, how to check if ObservableCollection has changes?
Hi, see code below (Using EF5). When an item is added or removed from the datagrid the CollectionChanged event is fired and can be handled, so an IsDirty flag can be set manually. But when changing an...
View Article