Returns different DataTemplates for bolded and un bolded days. The DaySlotTemplateSelector.Resources collection should contain DataTemplates with "BoldedDay" and "UnboldedDay" keys.

Namespace:  C1.Phone.Calendar
Assembly:  C1.Phone.Calendar (in C1.Phone.Calendar.dll)

Syntax

C#
public override DataTemplate SelectTemplate(
	Object item,
	DependencyObject container
)
Visual Basic
Public Overrides Function SelectTemplate ( _
	item As Object, _
	container As DependencyObject _
) As DataTemplate

Parameters

item
Type: System..::..Object
The data object for which to select the template.
container
Type: System.Windows..::..DependencyObject
The data-bound object.

Return Value

Returns a DataTemplate or null reference.

See Also