wpf-controls
Transparent border in WPF programmatically
It\'s trivial to generate a border (to use for Trackball events) transparent over the viewport in the XAML file:[详细]
2023-04-08 20:31 分类:问答Dynamically adding buttons to ItemsControl
I have a issue that i want your inouts on. I have a outer grid and it has two columns. On first column i am using a ItemsControl that is bind to a a view model (This view model is for dynamically crea[详细]
2023-04-08 16:48 分类:问答How to set focus on the WPF DataGrid or its first row?
I have WPF DataGrid placed on the Window. I have a button which performs some business logic and populates the grid.[详细]
2023-04-08 10:37 分类:问答WPF datagrid - value of the edited cell
I am working on WPF datagrid control. Binding the data from code behind using a dataset/XML. I want to edit the cell of the grid and capture the new value which the user has entered. Is 开发者_C百科th[详细]
2023-04-08 05:40 分类:问答How do create a DatePicker with only Sundays enabled?
I need to allow user to select only the Sunday from my date picker so I need to disable other columns. But I couldn\'t find any solution for this. Currently I just check in the selection-changed event[详细]
2023-04-07 23:51 分类:问答Improving WPF Canvas performance
I am developing a Maps like application using WPF. I have ~10,000 PathGeometry, Shapes added to the canvas. I have added ScaleTransform and TranslateTransform for zooming and panning controls.[详细]
2023-04-07 12:52 分类:问答How to display an xhtml file?
I have a TreeView that represents a book. Each chapter of the book is in xhtml format (unzipped from epub). The paths of the chapters are stored as Tags of the TreeView items. I need to display a sele[详细]
2023-04-06 18:20 分类:问答WPF drag and drop files onto TreeView from windows explorer
I am trying to make an extremely simple, or so I thought, program to drag and drop a file from the desktop/explorer onto a wpf treeview.[详细]
2023-04-06 03:42 分类:问答Enable button when SelectedItem of ListView changes from null and do the reverse
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[详细]
2023-04-05 18:54 分类:问答WPF ribbonwindow on windows 8 Desktop developer preview
Tried testing my ribbonwindow in windows 8 developer preview and found out that mostly everyth开发者_C百科ing functions OK except the minimize , maximize and close ribbonwindow buttons are missing ![详细]
2023-04-05 17:40 分类:问答