Gets the string identifying the type of the underlying item.
Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf
C#
![]() |
---|
public string StyleKey { get; } |
Visual Basic
![]() |
---|
Public ReadOnly Property StyleKey As String |
A string value indicating the current type of the item.
There are two types of item presentations depending on the current view and the all day state of the item. Items in SingleMonth, MonthRange, List, WeekRange and the all day items in the Timetable view are considered simple. The value of this property for those items is "Simple". Timetable and Resource view items are considered complex. The value of the property for them is "Complex".
The value of this property is checked using triggers to determine which control template to use for the item.