[]
        
(Showing Draft Content)

C1.WPF.Schedule.TimeSlotTemplateSelector.SelectTemplate

SelectTemplate Method

SelectTemplate(object, DependencyObject)

Returns the DataTemplate object for the specified group if it is found in resources.

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

The data object for which to select the template.

DependencyObject container

The data-bound object.

Returns
Type Description
DataTemplate

Returns a DataTemplate or a null reference (Nothing in Visual Basic). The default value is a null reference (Nothing in Visual Basic).