WinForms

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

    Show / Hide Table of Contents

    Class CalendarCurrentCell

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

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

    Constructors

    CalendarCurrentCell(GridCurrentCell)

    Declaration
    public CalendarCurrentCell(GridCurrentCell currentCell)
    Parameters
    Type Name Description
    GridCurrentCell currentCell

    Properties

    ColIndex

    Gets the Index of the cell's column.

    Declaration
    public int ColIndex { get; }
    Property Value
    Type Description
    System.Int32

    ColumnOffset

    Gets or sets the horizontal distance.

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

    RowIndex

    Gets the Index of the cell's row.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Activate(Int32, Int32, GridSetCurrentCellOptions)

    Notifies that the current cell is active ( or not ).

    Declaration
    public bool Activate(int rowIndex, int colIndex, GridSetCurrentCellOptions options)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Index of the cell's row.

    System.Int32 colIndex

    Index of the cell's column

    GridSetCurrentCellOptions options

    A GridSetCurrentCellOptions value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more

    Returns
    Type Description
    System.Boolean

    Return true if the current cell is active.

    Deactivate(Boolean)

    Deactivates the current cell and confirms or rejects changes made to the current cell.

    Declaration
    public bool Deactivate(bool discardChanges)
    Parameters
    Type Name Description
    System.Boolean discardChanges

    Bool value for discard chnages

    Returns
    Type Description
    System.Boolean

    return true if the current cell is deactive.

    MoveTo(Int32, Int32)

    Declaration
    public bool MoveTo(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 colIndex
    Returns
    Type Description
    System.Boolean

    MoveTo(Int32, Int32, GridSetCurrentCellOptions)

    Declaration
    public bool MoveTo(int rowIndex, int colIndex, GridSetCurrentCellOptions options)
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 colIndex
    GridSetCurrentCellOptions options
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved