C1.Silverlight.Schedule.5
SelectTemplate Method

The data object for which to select the template.
The data-bound object.
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 System.Object, _
   ByVal container As System.Windows.DependencyObject _
) As System.Windows.DataTemplate
public override System.Windows.DataTemplate SelectTemplate( 
   System.object item,
   System.Windows.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

Reference

TimeSlotTemplateSelector Class
TimeSlotTemplateSelector Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.