Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.DataTemplateTypeBindingSelector Class Reference

DataTemplateSelector implementation that selects templates from a list of DataTemplateTypeBinding objects. More...

Inheritance diagram for VolumeControl.WPF.DataTemplateTypeBindingSelector:
Collaboration diagram for VolumeControl.WPF.DataTemplateTypeBindingSelector:

Public Member Functions

override DataTemplate SelectTemplate (object item, DependencyObject container)
 

Properties

List< DataTemplateTypeBindingDataTemplateTypeBindings = new() [get, set]
 Gets or sets the list of DataTemplateTypeBinding instances. More...
 
DataTemplate? DefaultDataTemplate [get, set]
 Gets or sets the data template to use when no other templates are available. More...
 
string? TargetPropertyName [get, set]
 Gets or sets the name of a property within the bound object to use when detecting the object type. More...
 

Detailed Description

DataTemplateSelector implementation that selects templates from a list of DataTemplateTypeBinding objects.

Property Documentation

◆ DataTemplateTypeBindings

List<DataTemplateTypeBinding> VolumeControl.WPF.DataTemplateTypeBindingSelector.DataTemplateTypeBindings = new()
getset

◆ DefaultDataTemplate

DataTemplate? VolumeControl.WPF.DataTemplateTypeBindingSelector.DefaultDataTemplate
getset

Gets or sets the data template to use when no other templates are available.

Referenced by VolumeControl.WPF.DataTemplateTypeBindingSelector.SelectTemplate().

◆ TargetPropertyName

string? VolumeControl.WPF.DataTemplateTypeBindingSelector.TargetPropertyName
getset

Gets or sets the name of a property within the bound object to use when detecting the object type.

Referenced by VolumeControl.WPF.DataTemplateTypeBindingSelector.SelectTemplate().


The documentation for this class was generated from the following file: