No announcements
Found 2007338 threads
-
0 Votes
Bind property to a checkbox IsChecked value
Hi, The bound's type is not correct.Answered | 8 Replies | 10017 Views | Created by ysrini - Wednesday, January 16, 2013 2:15 AM | Last reply by Vincent Jin - Friday, January 18, 2013 8:23 AM -
1 Votes
Is this the correct way to bind the IsChecked property of the ToggleSwitch to a ViewModel?
However, it does work if you use 2-way binding, IsChecked="{Binding IsOn, Mode=TwoWay}".Discussion | 1 Replies | 1927 Views | Created by George Aguiar - Wednesday, April 13, 2011 9:26 PM | Last reply by mSpot Inc - Thursday, April 14, 2011 8:04 AM -
0 Votes
ToggleSwitch isOn property binding with mode=TwoWay problem
>the binding work just in one direction when i change the layer object not by the toggle switch the isOn toggle switch property does not change it status as expected .Answered | 5 Replies | 3041 Views | Created by m.s.t.l - Thursday, March 5, 2015 2:48 PM | Last reply by Amy Peng - Wednesday, March 18, 2015 8:27 AM -
2 Votes
binding the onchange event of ToggleSwitch
If I understand you Mousa, you simply want to be able to bind the data to the control?Answered | 6 Replies | 5429 Views | Created by Mousa Ziadeh - Thursday, May 24, 2012 11:17 AM | Last reply by Kraig Brockschmidt [MSFT] - Tuesday, May 29, 2012 10:28 PM -
0 Votes
[WP8.1][XAML]Binding Boolean to IsChecked
>” it is not letting me bind the Foreground property unless I remove the IsChecked binding” If my understanding was right, I have ...Answered | 1 Replies | 418 Views | Created by Nathan Sokalski - Sunday, April 10, 2016 12:57 AM | Last reply by Xavier Xie-MSFT - Monday, April 11, 2016 5:52 AM -
0 Votes
[WinJS]Toggleswitch labeloff localization in binding template
It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Answered | 3 Replies | 563 Views | Created by RobbyCeyssens - Sunday, November 22, 2015 10:45 PM | Last reply by Krunal Parekh - Tuesday, November 24, 2015 9:12 AM -
0 Votes
Unable to bind IsChecked property with CheckBox in Datagrid
The TestingPromptCollection does have IsSelected (bool) attribute with each object with OnPropertyChanged event If so, you have to re-set the source property of your ...Answered | 4 Replies | 5613 Views | Created by Chintan - Strings - Wednesday, November 30, 2011 7:24 AM | Last reply by Sheldon _Xiao - Thursday, December 1, 2011 8:14 AM -
0 Votes
Viewmodel properties does not show up for binding
Two ways I could refresh the properties available to bind was: Comment and then Uncomment the DataContext in XAML. ( I guess this refreshes the ...Answered | 2 Replies | 2391 Views | Created by dshakya - Monday, August 8, 2011 3:21 AM | Last reply by dshakya - Tuesday, August 9, 2011 6:29 AM -
0 Votes
Binding property from User Control ViewModel
That allows you to add dependencyproperties which mean you could create a binding in the viewmodel.Answered | 3 Replies | 4137 Views | Created by DanBarc - Wednesday, May 27, 2015 7:03 AM | Last reply by Andy ONeill - Wednesday, May 27, 2015 3:37 PM -
1 Votes
binding viewmodel to window datacontext and binding datagrid to property inside viewmodel
private ObservableCollection<Products> _productCollection = new ObservableCollection<Products>(); public ...Answered | 5 Replies | 10816 Views | Created by Don Idioto Grande - Thursday, July 7, 2011 10:16 AM | Last reply by SharpAspirant - Thursday, July 7, 2011 1:32 PM -
2 Votes
MVVM Binding to property in ViewModel >> Not getting into setter
Because the binding still won't reach the setter of Housing property.Answered | 6 Replies | 9209 Views | Created by BBauer42 - Wednesday, January 5, 2011 1:22 PM | Last reply by Min Zhu - Friday, January 7, 2011 2:36 AM -
0 Votes
How to set the IsChecked property in this scenario
Personally I almost always prefer a databound scenario, but if you want to make the ListBoxItems themselves responsible for their presentation you can do something like ...Answered | 2 Replies | 3442 Views | Created by ms44cn - Friday, October 30, 2009 10:22 AM | Last reply by DutchMarcel - Friday, October 30, 2009 12:42 PM -
0 Votes
How to bind IsChecked property of radio that exists in different user control?
I tested this way and binding is lost.Answered | 6 Replies | 4260 Views | Created by vladc77 - Tuesday, May 24, 2011 3:46 PM | Last reply by vladc77 - Tuesday, May 24, 2011 10:30 PM -
1 Votes
DataGrid, multiselection and binding to ViewModel
Hello, tillias: How did you propagate selectedItems to your ViewModel?Answered | 6 Replies | 12857 Views | Created by tillias - Saturday, July 10, 2010 7:51 PM | Last reply by toosensitive - Monday, July 26, 2010 5:00 PM -
0 Votes
Animating a viewmodel property?
Hi ikriv, I performed a test with your scenario, and verified that we can animate a dependency property which lies in the ViewModel.Answered | 1 Replies | 10769 Views | Created by ikriv - Friday, August 28, 2009 6:40 PM | Last reply by Bruce.Zhou - Tuesday, September 8, 2009 8:06 AM -
3 Votes
How to expose DataGrids Columns property for Binding with property in Viewmodel ?
On a side note, if you were adamant about creating your columns in your ViewModel, I did find the following on StackOverflow (it just seems like a lot of extra work for something you don't ...Answered | 4 Replies | 6728 Views | Created by Nikhil Vaidya - Wednesday, April 27, 2011 11:28 AM | Last reply by Yves.Z - Thursday, April 28, 2011 7:25 AM -
1 Votes
How to modify the color of a ToggleSwitch?
Easiest way is to provide your own theme brushes in App.Xaml resource dictionary.Answered | 3 Replies | 11999 Views | Created by Domenico R - Saturday, June 30, 2012 3:11 PM | Last reply by Amr Labib - Wednesday, July 25, 2012 2:22 PM -
0 Votes
Binding IsEnabled to IsChecked but getting the opposite value
I already did it using a converter I wanted to know if there is any other way.Answered | 4 Replies | 14236 Views | Created by Isaac Katzav - Monday, June 1, 2009 6:28 AM | Last reply by Isaac Katzav - Monday, June 1, 2009 9:45 AM -
0 Votes
ViewModel binding and submit changes
Hi, I select data using LINQ and wrap the entity with a ViewModel.Answered | 1 Replies | 982 Views | Created by websocialist - Friday, December 28, 2012 11:50 AM | Last reply by franantares - Friday, December 28, 2012 12:25 PM -
0 Votes
How to notify ViewModel when a property of a property changes.
1) Use DataTrigger and bind directly to Schedule's property. i.e ViewModel doesn't required to have UI controlling ...Answered | 2 Replies | 3945 Views | Created by EricHype - Thursday, July 7, 2011 12:03 AM | Last reply by dshakya - Wednesday, August 10, 2011 1:46 AM - Items 1 to 20 of 2007338 Next ›
No announcements