Show / Hide Table of Contents

Class SettingTemplateSelector

Template selector for displaying controls in the settings window.

Inheritance
System.Object
System.Windows.Controls.DataTemplateSelector
SettingTemplateSelector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Settings
Assembly: Phoenix.Settings.dll
Syntax
public class SettingTemplateSelector : DataTemplateSelector

Properties

View Source

CheckBoxTemplate

Gets or sets the DataTemplate for a check box control.

Declaration
public DataTemplate CheckBoxTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

ComboBoxEnumTemplate

Gets or sets the DataTemplate for a combo box control for enumerations.

Declaration
public DataTemplate ComboBoxEnumTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

ComboBoxTemplate

Gets or sets the DataTemplate for a combo box control.

Declaration
public DataTemplate ComboBoxTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

FileSelectorTemplate

Gets or sets the DataTemplate for a text box with a file selector button.

Declaration
public DataTemplate FileSelectorTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

FolderSelectorTemplate

Gets or sets the DataTemplate for a text box with a folder selector button.

Declaration
public DataTemplate FolderSelectorTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

ListBoxTemplate

Gets or sets the DataTemplate for a list box control.

Declaration
public DataTemplate ListBoxTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

SliderTemplate

Gets or sets the DataTemplate for a slider control.

Declaration
public DataTemplate SliderTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

SliderTicksTemplate

Gets or sets the DataTemplate for a slider control with predefined ticks.

Declaration
public DataTemplate SliderTicksTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

TextBoxTemplate

Gets or sets the DataTemplate for a text box control.

Declaration
public DataTemplate TextBoxTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate

Methods

View Source

SelectTemplate(Object, DependencyObject)

Using the SettingInfo's property type and allowed values type, determine the type of control to display.

Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
Type Name Description
System.Object item

The item that needs to be displayed.

System.Windows.DependencyObject container

The container to display the item in.

Returns
Type Description
System.Windows.DataTemplate

The DataTemplate to be used for displaying the item.

Overrides
System.Windows.Controls.DataTemplateSelector.SelectTemplate(System.Object, System.Windows.DependencyObject)
  • View Source
In This Article
Back to top Generated by DocFX