menu

WinForms

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

    Show / Hide Table of Contents

    Class CalendarModel

    This class is a wrapper for GridModel, used in MonthCalendarAdv, for more extensibility.

    Inheritance
    System.Object
    CalendarModel
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CalendarModel

    Constructors

    CalendarModel(GridModel)

    Declaration
    public CalendarModel(GridModel model)
    Parameters
    Type Name Description
    GridModel model

    Properties

    ColCount

    Declaration
    public int ColCount { get; set; }
    Property Value
    Type
    System.Int32

    Cols

    Declaration
    public GridModelRowColOperations Cols { get; }
    Property Value
    Type
    GridModelRowColOperations

    ColumnOffset

    Declaration
    protected int ColumnOffset { get; set; }
    Property Value
    Type
    System.Int32

    ColWidths

    Declaration
    public GridModelRowColSizeIndexer ColWidths { get; }
    Property Value
    Type
    GridModelRowColSizeIndexer

    IgnoreReadOnly

    Declaration
    public bool IgnoreReadOnly { get; set; }
    Property Value
    Type
    System.Boolean

    Item[Int32, Int32]

    Declaration
    public GridStyleInfo this[int rowIndex, int colIndex] { get; set; }
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 colIndex
    Property Value
    Type
    GridStyleInfo

    Options

    Declaration
    public GridModelOptions Options { get; }
    Property Value
    Type
    GridModelOptions

    ReadOnly

    Declaration
    public bool ReadOnly { get; set; }
    Property Value
    Type
    System.Boolean

    RowCount

    Declaration
    public int RowCount { get; set; }
    Property Value
    Type
    System.Int32

    RowHeights

    Declaration
    public GridModelRowColSizeIndexer RowHeights { get; }
    Property Value
    Type
    GridModelRowColSizeIndexer

    Rows

    Declaration
    public GridModelRowColOperations Rows { get; }
    Property Value
    Type
    GridModelRowColOperations

    RowStyles

    Declaration
    public GridModelRowStylesIndexer RowStyles { get; }
    Property Value
    Type
    GridModelRowStylesIndexer

    TableStyle

    Declaration
    public GridStyleInfo TableStyle { get; }
    Property Value
    Type
    GridStyleInfo

    Methods

    ChangeCells(GridRangeInfo, GridStyleInfo)

    Declaration
    public bool ChangeCells(GridRangeInfo range, GridStyleInfo cellInfo)
    Parameters
    Type Name Description
    GridRangeInfo range
    GridStyleInfo cellInfo
    Returns
    Type
    System.Boolean

    Events

    QueryCellInfo

    Declaration
    public event GridQueryCellInfoEventHandler QueryCellInfo
    Event Type
    Type
    GridQueryCellInfoEventHandler

    QueryColCount

    Declaration
    public event GridRowColCountEventHandler QueryColCount
    Event Type
    Type
    GridRowColCountEventHandler

    QueryRowCount

    Declaration
    public event GridRowColCountEventHandler QueryRowCount
    Event Type
    Type
    GridRowColCountEventHandler

    SelectionChanged

    Declaration
    public event GridSelectionChangedEventHandler SelectionChanged
    Event Type
    Type
    GridSelectionChangedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved