WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WeekNumberCell

    Show / Hide Table of Contents

    Class WeekNumberCell

    Represents a week number cell of the CalendarEdit control.

    Inheritance
    System.Object
    Cell
    WeekNumberCell
    Inherited Members
    Cell.IsSelectedProperty
    Cell.IsInvalidDateProperty
    Cell.IsSelected
    Cell.IsInvalidDate
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class WeekNumberCell : Cell

    Constructors

    WeekNumberCell()

    Declaration
    public WeekNumberCell()

    Properties

    CornerRadius

    Gets or sets m_CornerRadius.

    Declaration
    public CornerRadius CornerRadius { get; set; }
    Property Value
    Type Description
    System.Windows.CornerRadius

    Type: CornerRadius

    See Also
    CornerRadius

    Methods

    OnCreateAutomationPeer()

    Creates an appropriate AutomationPeer for CalendarEdit

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Automation peer of CalendarEdit

    SetStyle(Style)

    Sets style of the cell.

    Declaration
    protected void SetStyle(Style style)
    Parameters
    Type Name Description
    System.Windows.Style style

    Style to be set.

    UpdateCellTemplateAndSelector(DataTemplate, DataTemplateSelector)

    Updates data template and data template selector of the cell.

    Declaration
    protected void UpdateCellTemplateAndSelector(DataTemplate template, DataTemplateSelector selector)
    Parameters
    Type Name Description
    System.Windows.DataTemplate template

    Data template to be set to the cell. If it is null the local value of data template would be cleared.

    System.Windows.Controls.DataTemplateSelector selector

    Data template selector to be set to the cell. If it is null the local value would be cleared.

    Remarks

    Both template and selector can not be set at the same time.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved