Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / WeekTitleStyleSelector Property
Example


In This Topic
    WeekTitleStyleSelector Property
    In This Topic
    Gets or sets the WeekTitleStyleSelector, use it to change appearance of WeekTitle according to condition. This is a dependency property.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(System.ComponentModel.TypeConverter)>
    Public Property WeekTitleStyleSelector As WeekTitleStyleSelector
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value As WeekTitleStyleSelector
     
    instance.WeekTitleStyleSelector = value
     
    value = instance.WeekTitleStyleSelector
    [TypeConverter(System.ComponentModel.TypeConverter)]
    public WeekTitleStyleSelector WeekTitleStyleSelector {get; set;}
    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.
    Example
    The following xaml demonstrates how to change appearance of WeekTitle and CalendarDayButton through WeekTitleStyleSelector and CalendarDayButtonStyleSelector in xaml.
    See Also