[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.WeekTitleStyleSelector

WeekTitleStyleSelector Class

Represents the WeekTitleStyleSelector class, which allow user to set simple style for WeekTitle according to some conditions.

Inheritance
WeekTitleStyleSelector
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class WeekTitleStyleSelector : StyleSelector<WeekTitle>
Public Class WeekTitleStyleSelector
    Inherits StyleSelector(Of WeekTitle)
Remarks

WeekTitleStyleSelector is a simple implementation from bass class, to provide simple way to change appearance(some properties) of WeekTitle according to some pre-defined conditions. If this interface can't satisfy user's complex requirement, user is able to use template customization to instead.

Examples

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

Constructors

Name Description
WeekTitleStyleSelector()

Initializes a new instance of the WeekTitleStyleSelector class.

Properties

Name Description
Conditions

Gets a collection of SelectorCondition objects. A new Style is selected when all the conditions are checked, and the setters of the conditions which are met, will be applied to the selected Style.

Methods

Name Description
SelectStyle(WeekTitle)

Selects the style according the Conditions.