WPF Auto complete text box. Please Help!
Hi There, i am trying to create an auto complete textbox from a list of string. i dont want the auto correction to be a list, i just want it to auto suggest the rest of the word in the actual...
View ArticleWpf ResourceDictionary Add key and string
Hi,now I am adding the key and value in wpf Resource Dictionary xaml file dynamically , it was added good but added in unordered list , I need the key should save in xaml file as ascending order, how...
View ArticleJsonString to .Net Object conversion returning null always
I tried to convert a json string in specific format to a .Net object , but the object always shows null.Any idea why it is not parsing json String?The jsonString i tried to parse is...
View ArticleDetecting when a DataGridComboBoxColumn is selected
HiOne of a ComboBox’s most commonly used and essential Events is SelectionChanged. It is raised when a selection is made in the ComboBox, which is the only purpose of a ComboBox (ie: making a...
View ArticleNeed help writing the following event handlers from code behind into XAML...
Hello All,I have the following code behind in my application, and I need to re-write it, so that it all is handled in the xaml. The reason is for design purposes, so could you please help out if you...
View ArticleChanging DynamicRenderer of a custom InkCanvas
Hello!When I'm trying to change the renderer of my custom InkCanvas I get the error:A first chance exception of type 'System.ArgumentException' occurred in WindowsBase.dll{System.ArgumentException:...
View ArticleThreading and WPF (cont'd)
In the thread: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/961c3a25-6c2b-4d61-af84-e97c7a784dd9I asked about the threading in general and got a hint that nowadays I should use Async.So I...
View ArticleC# - Extand Glass Frame
Helllo Everyone :) Patric Scribe gived me a few days ago this link about Extand Glass Frame Into WPF Application. I have been trying to expand the glass efact to all my window background but with not...
View ArticleSplit WPF window into two pages each look like same
I want to create a WPF application. Where i want to add two pages into a single WPF window. And both pages are same. Each responding to user interaction at the same time through touch.
View ArticleMultiColumn ComboBox...
I'm trying to build a MultiColumn ComboBox. I followed this example:http://zamjad.wordpress.com/2012/08/15/multi-columns-combo-box/However, I have two problems...1. It does not show two or three...
View ArticleXAML settings are reset at runtime
I am converting my code from Forms to WPF and I am still learning the WPF basics.I have created a UserControl for a toolbar. I can add buttons to the toolbar by code without a problem. I have a...
View ArticleHow to restrict a window move and grow within screen in WPF
Hi All, How to restrict a window move and grow only within screen in WPF. I need to restrict the window without moving outside window and does not grow outside screen co...
View ArticleTrouble with setting both DataTemplate and ControlTemplate to Map Pushpins in...
I am having trouble setting both DataTemplate and ControlTemplate to my bing map pushpins. I am using data binding which works to a point when i try to customize my pushpins by adding...
View ArticleHow override default ListItem background color on LostFocus?
Hi. When my wpf DataTemplated ListBox loses focus, the background color of SelectedItems change from HighlightColor to what looks like ControlLightColor. Normally I wouldn't mind, but this lacks...
View Article"Window must be the root of the tree. Cannot add Window as a child of Visual."
Hello There.I have an existing project, that I am now refactoring into the MVVM design pattern; This involved having multiple Views, that in short, is the xaml. Problem is, I have an application entry...
View ArticleTabindex Problem in AutoComleteBox.
Hi,I am creating simple WPF form application. I have 2 AutoCompleteBox and 1 TextBox on my form,I have set tab index 1 for autoCompleteBox1, tab index 2 for textBox1 and tab index 3 for...
View ArticleRender.Transformation scaling with one animation
I have Dim ScaleUpY As New DoubleAnimation() Dim ScaleUpX As New DoubleAnimation() ScaleUpY.Duration = New Duration(TimeSpan.FromSeconds(0.2)) ScaleUpX.Duration = New...
View ArticleC# WPF UI update is very slow
Hi,I have a WPF application wherein I have a canvas and three images on it to display the xy, yz and xz plane of a volume.I just run a for loop from i = 0 to z-1 and calculate each xy, yz and xz plane...
View ArticleWPF label & Textblock Enlarge & Shrink using Storybaord DoubleAnimation
Hi Guys, anybody can help me to have 'Enlarge & Shrink' animation using Storyboard in WPF?I got labels and Text-blocks in WPF and I would like to apply the above concept, can anybody share me some...
View ArticleEF4 and WPF data binding - many to many relationship
Thanks in advance. Without boring you to death with all the details - I have an EF model intended to track project requests. The hierarchy is that corporate divisions have departments; the departments...
View Article