objectdataprovider
Problems adding an ObjectDataProvider in resources
I\'m setting up some things in XAML, but for some reason, I\'m having an issue. I\'m trying to add an ObjectDataProvider to my resources, but when I\'m doing that, I get this warning on my resourcedic[详细]
2023-04-04 07:45 分类:问答wpf ObjectDataProvider method parameter bind to combobox selected value
I\'m dealing with a problem in WPF binding. I\'m creating a user control which present a datagrid, fiiltered by 2 possible values.[详细]
2023-02-17 17:05 分类:问答Set ObjectDataProvider to be Property of the View
I am using the MVP pattern for my WPF application. I would like to set the ObjectDataProvider to be the Presenter object that I setting in the constructor of my View. I then would like to bind to my c[详细]
2023-02-16 23:23 分类:问答Binding a buttons IsEnabled/Visibility properties using its x:Name as a parameter in a method in the code-behind
I need to pass in the controls name to a method in a security object that returns a boolean value for the IsEnabled property and another method that returns its Visibility(Collapsed, Hidden, or Visibl[详细]
2023-01-27 15:18 分类:问答passing listbox item index as parameter to objectdataprovider
I am currently attempting to use an object data provider to return the colour that I would like to use as a background for each listbox item, with the colour dependent on that listbox items index.[详细]
2023-01-18 18:25 分类:问答WPF enumeration value as ObjectDataProvider's method parameter
I want to pass for as a parameter for the GetValues method from MyItemSourceProvide开发者_如何学Pythonr a concrete value of MyEnum. How to write it please?[详细]
2023-01-17 07:30 分类:问答wpf xaml calling a method on the current object
Im attempting to bind to the output of a method. Now I\'ve seen examples of this using ObjectDataProvider However the problem with this i开发者_StackOverflows ObjectDataProvider creates a new instance[详细]
2023-01-16 13:03 分类:问答ObjectDataProvider in MVVM not necessary?
I have created a simple MVVM, with only three classes CashFlowView, CashFlowViewModel, CashFlowModel.[详细]
2023-01-05 02:07 分类:问答Bind the value of a parameter in an ObjectDataProvider in WPF
I would like to be able to be doing this : <ObjectDataProvider x:Key=\"dataProvider\" ObjectInstance=\"uiRoot:App.Current.Controller\"[详细]
2023-01-02 12:25 分类:问答Why my WPF binding not work?
I trying to bind List to Listbox. And at the Button1Click method new instance of MyClass adds in my List<>, but that not visible in my listbox. There my code:[详细]
2022-12-20 00:04 分类:问答