How do I use RelativeSource with WPF bindings and what are the different use-cases?
.net wpf xaml data-binding relativesourceI have a ListBox which binds to a child collection on a ViewModel. The listbox items are styled in a …
wpf xaml data-binding datatemplate relativesourceWhat is the difference between these 2 bindings: <ControlTemplate TargetType="{x:Type Button}"> <Border BorderBrush="{TemplateBinding Property=Background}"&…
wpf relativesource templatebindingI am currently working within a WPF user control (the root element of my XAML file is "UserControl"), which I …
wpf data-binding xaml relativesource findancestorWill there be RelativeSource FindAncestor, AncestorType... in Silverlight 4?
.net silverlight binding relativesourceHere is the code: <GridViewColumn DisplayMemberBinding="{Binding Path=BookId}" Width="100"> <GridViewColumn.Header> <Border BorderBrush="Black"&…
wpf listview binding relativesourceWhat am I doing wrong here?: <GridViewColumn> <GridViewColumn.CellTemplate> <DataTemplate> <Button> <…
wpf xaml binding relativesourceI've been trying to build a text box with a hint that's displaying while it's empty. I'm having trouble setting …
wpf styles relativesourceI have a DataSet bound to the Window.DataContext; I also have a DataGrid: <DataGrid ItemsSource={Binding Tables[Items]}&…
wpf data-binding datagrid itemssource relativesourceI've built a WPF based Treeview with Item -Subitem If Subitem is selected, I would like to display also Properties …
c# wpf binding treeview relativesource