how to get value from the textblock , which is present in listbox .... here is the code xaml : <ListBox Height=\"707\" HorizontalAlignment=\"Left\" Margin=\"12,0,0,0\" Name=\"listBox1\" VerticalA
I got a listbox with listing down item, each item is stackpanel with an icon and description text. <ListBox x:Name=\"lstSlectionTools\"
I am trying to implement a Dots and Boxes style game in Silverlight for Windows Phone 7.What is the best way to draw the dot 开发者_运维问答and box grid so that I get notified when someone touches the
I\'ve searched the samples, the developer site, the getting started and the enhancing bla bla bla pages.
I was able to find EventTrigger in the WinRT reference, however, I wasn\'t able to find DataTrigger. I wasn\'t able to use it in an application either.
I am working with WPF and trying to change the Enabled state of a button when we selected an Item of a ListView, or in other words, how to trigger the Enabled state of a button when we Select any List
Basically, if I have: <TextBlock Text=\"{Binding MyValue, Conv开发者_运维百科erter={StaticResource TransformedTextConverter},
How can I expand a node in a treeview using MVVM? I have a x level treeview and I made my own class to bind it to the TreeView control.
Something that was working on VS2008 (framework 3.5) seems to not work on VS2010 (framework 4). I need to change the style of a window at runtime (user preference).
How do I databind to the D开发者_Python百科ataTemplate\'s IsSelected property to my view model?I suppose your DataTemplate is within an ItemsControl or a control that derives from it, like ListBox, Da