Show / Hide Table of Contents

Class DeviceListTemplateSelector

Helps select the data template to use for the Device List main column.

Inheritance
System.Object
System.Windows.Controls.DataTemplateSelector
DeviceListTemplateSelector
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.DeviceManagement
Assembly: Phoenix.dll
Syntax
public class DeviceListTemplateSelector : DataTemplateSelector

Properties

View Source

DeviceCellTemplate

Gets or sets the template to represent a device.

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

GroupCellTemplate

Gets or sets the template to represent a group.

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

Methods

View Source

SelectTemplate(Object, DependencyObject)

Selects what data template to use based on item's type.

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

The data object for which to select the template.

System.Windows.DependencyObject container

The data-bound object.

Returns
Type Description
System.Windows.DataTemplate

Either a group template, a cell template, or null.

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