Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / TimeSlotTemplateSelector Class / SelectTemplate Method
The data object for which to select the template.
The data-bound object.

In This Topic
    SelectTemplate Method (TimeSlotTemplateSelector)
    In This Topic
    Returns the System.Windows.DataTemplate object for the specified group if it is found in resources.
    Syntax
    'Declaration
     
    
    Public Overrides Function SelectTemplate( _
       ByVal item As Object, _
       ByVal container As DependencyObject _
    ) As DataTemplate
    public override DataTemplate SelectTemplate( 
       object item,
       DependencyObject container
    )

    Parameters

    item
    The data object for which to select the template.
    container
    The data-bound object.

    Return Value

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