MindFusion.Wpf Pack Programmer's Guide
ItemPresenter.StyleKey Property
See Also
 





Gets the string identifying the type of the underlying item.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public string StyleKey { get; }

Visual Basic  Copy Code

Public ReadOnly Property StyleKey As String

 Property Value

A string value indicating the current type of the item.

 Remarks

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.

 See Also

ItemPresenter Members
ItemPresenter Class
MindFusion.Scheduling.Wpf Namespace