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.Wpf
Assembly: MindFusion.Scheduling.Wpf
SyntaxC#
Copy Code
|
|---|
public DataTemplate RowHeaderTemplate { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property RowHeaderTemplate As DataTemplate |
An instance of the WPF DataTemplate class.
RemarksThe 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.
ExampleThe 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> |
See Also