[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.PropertyCondition

PropertyCondition Class

Represents the PropertyCondition class which use to judge condition through property of button data.

Inheritance
PropertyCondition
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class PropertyCondition : SelectorCondition
Public Class PropertyCondition
    Inherits SelectorCondition
Remarks

In WeekTitleStyleSelector, the Property should be one of the properties of WeekTitleInfo. In CalendarDayButtonStyleSelector, the Property should be one of the properties of DayInfo.

Examples

The following xaml demonstrates how to change appearance of WeekTitle and CalendarDayButton through WeekTitleStyleSelector and CalendarDayButtonStyleSelector in xaml.

Constructors

Name Description
PropertyCondition()

Properties

Name Description
Property

Gets or sets the property that returns the value that is compared with the Value property of the PropertyCondition.

Value

Gets or sets the value to be compared with the property value of the PropertyCondition target.