Gets or sets the template of the row headers, or null (Nothing in Visual Basic), to use the default template. This is a dependency property.
Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight
C# Copy Code |
---|
public DataTemplate RowHeaderTemplate { get; set; } |
Visual Basic Copy Code |
---|
Public Property RowHeaderTemplate As DataTemplate |
An instance of the Silverlight DataTemplate class.
The default value of this property is the following template:
XAML Copy Code |
---|
<DataTemplate> |
In addition to HeaderText, which contains the default text displayed in the row header, the properties of the template can also bind to Resource and Calendar, which reference the related Resource object and the Calendar control respectively.
The following example demonstrates a custom row header template which displays an image along with the header text. The image is specified through the Tag property of the resource.
XAML Copy Code |
---|
<DataTemplate> |