No announcements
Found 300592 threads
-
0 Votes
Binding Combobox itemssource to List that is not part of the ListView's ItemsSource
Hi, I modify you xaml code for ComboBox, this code set the "DataContext" of your ComboBox same as the DataContext of you ListView.Answered | 6 Replies | 10570 Views | Created by WRBehning - Monday, June 11, 2012 8:12 PM | Last reply by WRBehning - Wednesday, June 13, 2012 9:49 PM -
3 Votes
[UWP] Binding ListView.SelectedItem with x:Bind TwoWay mode causes StackOverflowException
hello, I have simple ListView control, I want to x:Bind ItemsSource and SelectedItem.Answered | 1 Replies | 4049 Views | Created by kcagara - Tuesday, February 16, 2016 10:56 PM | Last reply by Mike Taulty - Tuesday, February 16, 2016 11:19 PM -
0 Votes
difference between DataContext and ItemsSource
all FrameworkElements have a DataContext property. only itemsControl have an ItemsSource Property.Answered | 1 Replies | 6975 Views | Created by rtaiss - Monday, November 10, 2008 1:18 AM | Last reply by Evan Chua-Yap - Monday, November 10, 2008 2:59 AM -
0 Votes
ListView ItemsSource and DataContext TwoWay binding
Solve.. set ItemsSource to TwoWay binding...Answered | 9 Replies | 4471 Views | Created by Alexey.U - Friday, October 24, 2014 7:59 AM | Last reply by Alexey.U - Tuesday, October 28, 2014 8:50 AM -
1 Votes
Binding the CheckBoxes in the ListView
There is no such property, just remove the RelativeSource and you you should be fine since it will grab the property off the DataContext of the ListViewItem (you are already there), ...Answered | 3 Replies | 681 Views | Created by wpf_xam1 - Thursday, March 17, 2016 3:04 PM | Last reply by noorbakhsh - Thursday, March 17, 2016 9:18 PM -
0 Votes
Binding XMLDataProvider to the DataContext through programically
Interesting - it worked for me....maybe something to do with where it is called from - I tested it in response to the Loaded event on a ListView.Answered | 3 Replies | 5703 Views | Created by chandu928 - Thursday, June 4, 2009 10:40 AM | Last reply by Mark Salsbery - Friday, June 5, 2009 6:50 AM -
1 Votes
ListView Data-Binding problem
Your window DataContext is set to Messages, then in your LIstView your binding the ItemsSource to the Path Messages.Answered | 2 Replies | 2692 Views | Created by arcadiaq - Friday, June 8, 2012 1:46 PM | Last reply by arcadiaq - Friday, June 8, 2012 1:55 PM -
1 Votes
binding an object property to combobox selectedItem and binding the itemsSource to a different dataTable
True, there can be only one DataContext, but a Binding can have sources different from the DataContext.Answered | 10 Replies | 12810 Views | Created by jmanier - Thursday, May 6, 2010 2:12 PM | Last reply by jmanier - Monday, May 10, 2010 5:56 PM -
0 Votes
[UWP]TwoWay Binding Throws StackOverflow Exception
You could use “Binding” as a workaround.Answered | 4 Replies | 1829 Views | Created by Sugapriya M - Wednesday, August 10, 2016 4:46 PM | Last reply by Xavier Xie-MSFT - Tuesday, August 16, 2016 8:40 AM -
0 Votes
DataGrid Binding works from Source to Target, But gives Error when Mode is Changed to TwoWay
It does indeed require that one specify a Path= in the ItemsSource binding when one uses Mode=TwoWay.Answered | 3 Replies | 506 Views | Created by Tallisfan - Monday, November 23, 2015 2:11 AM | Last reply by Tallisfan - Monday, November 23, 2015 5:08 PM -
0 Votes
[XAML] Binding Nested ListView
If you want to display the addresses of each EventsEventPlayer, you could bind to the property that returns the addresses directly since the DataContext of an item in the ...Answered | 7 Replies | 1471 Views | Created by Vagelis Dermos - Sunday, July 3, 2016 3:14 PM | Last reply by Thanik - Sunday, July 31, 2016 4:34 PM -
0 Votes
ListView with VirtualizingStackPanel remembers scroll position
In store app I have a problem with ListView which ItemsPanel is VirtualizingStackPanel.Answered | 1 Replies | 977 Views | Created by 55FRY - Wednesday, February 4, 2015 7:39 PM | Last reply by Herro wong - Thursday, February 5, 2015 8:40 AM -
0 Votes
ToggleSwitch isOn property binding with mode=TwoWay problem
In my mind it may be because that when we update the Layer value in the Code Behinde, although the ItemsSource is updated, the foreground does not show the update for the toggleswitch ...Answered | 5 Replies | 3042 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 -
3 Votes
binding problem
You must add the entire DataRow, or rather a DataRowView, to the ListView if you want to be able to bind to its columns.Answered | 8 Replies | 822 Views | Created by gregory lyras - Monday, October 27, 2014 12:02 PM | Last reply by Magnus (MM8) - Monday, October 27, 2014 9:47 PM -
0 Votes
TwoWay Binding with XML data
See this: Binding classAnswered | 1 Replies | 1505 Views | Created by afroDeluXe - Tuesday, October 2, 2012 3:50 PM | Last reply by saramgsilva - Wednesday, October 3, 2012 4:37 PM -
0 Votes
Multiple DataContexts
If you have defined the collection property in the code-behind of the UserControl, you could use a RelativeSource for the binding: <ListBox ...Answered | 5 Replies | 761 Views | Created by pczurak - Saturday, February 22, 2014 11:11 PM | Last reply by pczurak - Sunday, February 23, 2014 11:37 PM -
0 Votes
Programatically select multiple Items in listview binded with datacontex
Hi , Got the solution the exception was coming because the datacontext was not properly initializing becuase i was binding the listview in the forms ...Answered | 5 Replies | 6718 Views | Created by Vaibhav Nagar - Friday, October 30, 2009 1:18 PM | Last reply by Vaibhav Nagar - Wednesday, December 2, 2009 4:52 AM -
0 Votes
How get the ListView's SelectedIndex?
<ListView.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBox ...Answered | 6 Replies | 1164 Views | Created by Markus222 - Thursday, March 19, 2015 6:50 AM | Last reply by Markus222 - Thursday, March 19, 2015 4:02 PM -
0 Votes
TwoWay Data Binding from ViewModel to UserControl
Looks like your data context for the binding is probably wrong.Answered | 3 Replies | 5022 Views | Created by davidbitton - Tuesday, October 27, 2009 9:44 PM | Last reply by davidbitton - Wednesday, October 28, 2009 1:49 PM -
0 Votes
Listview with different bindings
A ListView can only have one DataContext.Answered | 1 Replies | 4129 Views | Created by Marco Rosas - Monday, January 26, 2009 4:08 PM | Last reply by Tao Liang - Thursday, January 29, 2009 7:27 AM - Items 1 to 20 of 300592 Next ›
No announcements