mvvm
DispatcherHelper to thread
I have an application which uses 1 Main Window and in turn this window has 5 UserControls which are created using a Ribbon Control.[详细]
2023-04-08 00:27 分类:问答GUI/view doesn't notice about changes in the viewmodel. Who should notify?
I\'m rather new to Silverlight and have a question about the notifying-mechanism. My solution is an MVVM-application stacked like this:[详细]
2023-04-07 23:36 分类:问答Numeric text box with MVVM Pattern
I have seen implementations of numeric TextBox with code behind in WPF. How do we do this 开发者_如何学编程in MVVM pattern?In WPFif you bind the TextBox to a Decimal or a Int Property it will accept o[详细]
2023-04-07 21:17 分类:问答Set the DataContext of a ViewModel in MVVMLight
I\'ve got a question of the MVVM-Pattern. So I\'m not sure, that I\'ve had understand it completely. My scenario:[详细]
2023-04-07 19:09 分类:问答Why is IDataErrorInfo is firing multiple times?
I am having an issue where IDataErrorInfo is getting fired multiple times. Transaction Class public class Transaction : INotifyPropertyChanged, INotifyPropertyChanging, IDataErrorInfo[详细]
2023-04-07 18:54 分类:问答Expand path in TreeView using view model
I have dates bounded to TreeView. There is a wrapper class for date. Dates groups by years and months. Wrapper class also has IsSelected and IsExpanded properties:[详细]
2023-04-07 16:43 分类:问答Loading UserControl to the region of the Window on ComboBox change
I have got ComboBox which is populated with collection of customTypes. On comboBox change, I woul开发者_开发问答d like to load/change content in the particular region so that it loads related data for[详细]
2023-04-07 15:51 分类:问答Will you create a service for Rx.Observable?
I have the following code in VM.. Observable .Timer(remainingTimeSpanForNextHour, TimeSpan.FromHours(1))[详细]
2023-04-07 15:37 分类:问答SelectedValue lost when tabbing to a combobox (MVVM)
I have a datagridtemplatecolumn with CellTemplate / CellEditingTemplate, works ok, after loading it shows the previously choosen selectedvalue bound from the model.[详细]
2023-04-07 15:04 分类:问答how to flatten a WPF TreeView
I need a control that behaves like a treeview (binds to a tree structure, expands child nodes based on IsExpanded property of bound object), yet displays data like the grid (no indenting, or toggle im[详细]
2023-04-07 14:48 分类:问答