menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WeekNumberGridPanel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class WeekNumberGridPanel

    Represents a grid that consists of columns and rows which contain WeekNumber cell elements.

    Inheritance
    System.Object
    CalendarEditGrid
    WeekNumberGridPanel
    Implements
    System.IDisposable
    Inherited Members
    CalendarEditGrid.AddToInnerGrid(UIElement)
    CalendarEditGrid.CellsCollection
    CalendarEditGrid.ColumnsCount
    CalendarEditGrid.FocusedCellIndex
    CalendarEditGrid.RowsCount
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class WeekNumberGridPanel : CalendarEditGrid, IDisposable

    Constructors

    WeekNumberGridPanel()

    Initializes a new instance of the WeekNumberGridPanel class.

    Declaration
    public WeekNumberGridPanel()

    Fields

    NumberOfWeeks

    Number of Weeks.

    Declaration
    public static int NumberOfWeeks
    Field Value
    Type
    System.Int32

    Properties

    ParentCalendar

    Gets or sets the parent.

    Declaration
    protected CalendarEdit ParentCalendar { get; set; }
    Property Value
    Type Description
    CalendarEdit

    Type: CalendarEdit

    See Also
    CalendarEdit

    Methods

    CreateCell()

    Creates the instance of the single cell.

    Declaration
    protected override Cell CreateCell()
    Returns
    Type Description
    Cell

    New instance of the WeekNumbercellPanel.

    Overrides
    CalendarEditGrid.CreateCell()

    Dispose()

    Release the unmanaged resources of WeekNumberGridPanel.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Release the unmanaged resources of WeekNumberGridPanel.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Used to indicate perform dispose or not.

    Overrides
    CalendarEditGrid.Dispose(Boolean)

    Initialize(VisibleDate, CultureInfo, Calendar)

    Initializes content of WeekNumberGridPanel.

    Declaration
    public override void Initialize(VisibleDate date, CultureInfo culture, Calendar calendar)
    Parameters
    Type Name Description
    VisibleDate date

    Current date.

    System.Globalization.CultureInfo culture

    Current culture.

    System.Globalization.Calendar calendar

    Current calendar.

    Overrides
    CalendarEditGrid.Initialize(VisibleDate, CultureInfo, Calendar)

    OnVisualParentChanged(DependencyObject)

    Invoked when the parent is changed.

    Declaration
    protected override void OnVisualParentChanged(DependencyObject oldParent)
    Parameters
    Type Name Description
    System.Windows.DependencyObject oldParent

    The previous parent. Set to a null reference (Nothing in Visual Basic) if the DependencyObject did not have a previous parent.

    SetIsSelected(VisibleDate)

    Sets the selected cell.

    Declaration
    public override void SetIsSelected(VisibleDate date)
    Parameters
    Type Name Description
    VisibleDate date

    Current date.

    Overrides
    CalendarEditGrid.SetIsSelected(VisibleDate)

    SetWeekCellContent()

    Sets the content for the WeekNumber property of the WeekNumberCellPanel.

    Declaration
    protected void SetWeekCellContent()

    SetWeekNumber(VisibleDate, CultureInfo, Calendar)

    Sets the WeekNumber property of the WeekNumberCellPanel.

    Declaration
    protected void SetWeekNumber(VisibleDate date, CultureInfo culture, Calendar calendar)
    Parameters
    Type Name Description
    VisibleDate date

    Current date.

    System.Globalization.CultureInfo culture

    Current culture.

    System.Globalization.Calendar calendar

    Current calendar.

    UpdateParent()

    Updates the parent.

    Declaration
    protected void UpdateParent()

    Implements

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