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


In This Topic
    WeekTitleStyleSelector Class
    In This Topic
    Represents the WeekTitleStyleSelector class, which allow user to set simple style for WeekTitle according to some conditions.
    Object Model
    WeekTitleStyleSelector Class
    Syntax
    'Declaration
     
    <ContentPropertyAttribute("Conditions")>
    Public Class WeekTitleStyleSelector 
       Inherits GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector(Of WeekTitle)
    'Usage
     
    Dim instance As WeekTitleStyleSelector
    [ContentProperty("Conditions")]
    public class WeekTitleStyleSelector : GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector<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.
    Example
    The following xaml demonstrates how to change appearance of WeekTitle and CalendarDayButton through WeekTitleStyleSelector and CalendarDayButtonStyleSelector in xaml.
    Inheritance Hierarchy

    System.Object
       GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector<T>
          GrapeCity.Wpf.SpreadSheet.CellType.Editors.WeekTitleStyleSelector

    See Also