Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WeekDaysHeader Class / DayNames Property


In This Topic
    DayNames Property
    In This Topic
    Gets or sets the names of the days of the week as displayed in the header.
    Syntax
    'Declaration
     
    <LocalizableAttribute(True)>
    Public Property DayNames As String()
    'Usage
     
    Dim instance As WeekDaysHeader
    Dim value() As String
     
    instance.DayNames = value
     
    value = instance.DayNames
    [Localizable(true)]
    public string[] DayNames {get; set;}

    Property Value

    A string array containing the names of the days of the week as displayed in the header. By default, DateTimeFormatInfo.DayNames of the current culture if DefaultDayNamesMode is set to DayNamesMode.Full; DateTimeFormatInfo.AbbreviatedDayNames of the current culture if DefaultDayNamesMode is set to DayNamesMode.Abbreviated; or
    DateTimeFormatInfo.ShortestDayNames of the current culture if DefaultDayNamesMode is set DayNamesMode.Shortest.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also