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


In This Topic
    DayOfWeekCondition Class
    In This Topic
    Represents the DayOfWeekCondition class.
    Object Model
    DayOfWeekCondition Class
    Syntax
    'Declaration
     
    <ContentPropertyAttribute("Setters")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class DayOfWeekCondition 
       Inherits SelectorCondition
    'Usage
     
    Dim instance As DayOfWeekCondition
    [ContentProperty("Setters")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class DayOfWeekCondition : SelectorCondition 
    Remarks
    This condition works in CalendarDayButtonStyleSelector and WeekTitleStyleSelector. When you add a DayOfWeekCondition in a WeekTitleStyleSelector, WeekTitleStyleSelector only checks the DayOfWeek property, the WeekInMonth property will be ignored.
    Example
    The following xaml demonstrates how to change appearance of WeekTitle and CalendarDayButton through WeekTitleStyleSelector and CalendarDayButtonStyleSelector in xaml.
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             GrapeCity.Wpf.SpreadSheet.CellType.Editors.SelectorCondition
                GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekCondition

    See Also