Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WPF   (RSS)
Mouse Over Trigger for TreeViewItem
The problem with the IsMouseOver property on TreeViewItem in WPF is that when it is set to true for a child node it is also true for parent nodes. Therefore if you try to add a trigger with IsMouseOver property you will observe the following behavior: Read More...
Setting TreeView SelectedItem in Code
It is possible to set the selected item of a TreeView control in WPF without direct interaction with UI elements by including IsSelected property in your data object and binding it to IsSelected property of TreeViewItem. The code snippets below indicate Read More...
Office-like WPF Tooltip for Hyperlinks
You can have Office-like tooltips for the hyperlinks displayed in RichTextBox control in WPF. First thing to note is enabling the hyperlinks in RichTextBox by setting IsDocumentEnabled property. Then, we will bind the ToolTip property of the hyperlink Read More...
Page view tracker