Returns different DataTemplates for bolded and un bolded days. The DaySlotTemplateSelector.Resources collection should contain DataTemplates with "BoldedDay" and "UnboldedDay" keys.
'Declaration
Protected Overloads Overrides Function SelectTemplateCore( _
ByVal As System.Object, _
ByVal As Windows.UI.Xaml.DependencyObject _
) As Windows.UI.Xaml.DataTemplate
protected override Windows.UI.Xaml.DataTemplate SelectTemplateCore(
System.object ,
Windows.UI.Xaml.DependencyObject
)
Parameters
- item
- The data object for which to select the template.
- container
- The data-bound object.
Return Value
Returns a DataTemplate or null reference.