OK, this is a super super noob question, one that I'm almost embarrassed to ask... I want to reference a …
c# wpf xaml class datatemplateselectorI have a item control which is bound to Tasks. Each task has task state. I have defined different data …
wpf triggers datatemplateselector datatemplateI have ContentPresenter with DataTemplateSelector: ... public override DataTemplate SelectTemplate(object item, DependencyObject container) { var model = item as ItemControlViewModel; if (model.…
c# wpf datatemplateselectorSo here is the XAML that I have: <ItemsControl ItemsSource="{Binding Path=Groups}" ItemTemplateSelector="{Binding RelativeSource={RelativeSource AncestorType=Window}, …
c# wpf binding datatemplateselectorOk I found this wonderful idea on code project. link The idea is great add all your data templates to …
wpf datatemplateselectorI got an enoying problem... Maybe someone can (please!) help. I am using a model that has and enumeration of …
wpf datatemplate contentcontrol datatemplateselectorI set up a ContentControl.DataTemplateSelector to my desired one. I want that according to a command or whatever, call …
wpf xaml datatemplate contentcontrol datatemplateselectorSuppose the following XAML defined window: <Window x:Class="LayoutTests.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" …
wpf listview datatemplate datatemplateselectorI have a generic control which displays an editor based on the type property inside a ViewModel. Currently it's implemented …
wpf datatemplate controltemplate datatrigger datatemplateselectorI know there is this thread: How to find a resource in a UserControl from a DataTemplateSelector class in WPF? …
wpf user-controls resources datatemplateselector