Class CalendarGrid
This class is a wrapper for Grid, used in MonthCalendarAdv, for
more extensibility.
Inheritance
System.Object
CalendarGrid
Assembly: Syncfusion.Tools.Windows.dll
public class CalendarGrid : Object
Constructors
Declaration
Properties
Declaration
public Color BackColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Declaration
public Image BackgroundImage { get; set; }
Property Value
| Type |
| System.Drawing.Image |
Declaration
public ImageLayout BackgroundImageLayout { get; set; }
Property Value
| Type |
| System.Windows.Forms.ImageLayout |
Declaration
protected int ColumnOffset { get; set; }
Property Value
Declaration
public ContextMenuStrip ContextMenu { get; set; }
Property Value
| Type |
| System.Windows.Forms.ContextMenuStrip |
Declaration
public CalendarCurrentCell CurrentCell { get; }
Property Value
Declaration
public int DefaultColWidth { get; set; }
Property Value
Declaration
public int DefaultRowHeight { get; set; }
Property Value
Declaration
public DockStyle Dock { get; set; }
Property Value
| Type |
| System.Windows.Forms.DockStyle |
Declaration
public bool ForceCurrentCellMoveTo { get; set; }
Property Value
Declaration
public GridControlBase GridControl { get; }
Property Value
Declaration
public GridScrollbarMode HScrollBehavior { get; set; }
Property Value
Declaration
public CalendarModel Model { get; set; }
Property Value
Declaration
public MouseControllerDispatcher MouseControllerDispatcher { get; }
Property Value
Declaration
public bool ThemesEnabled { get; set; }
Property Value
Declaration
public GridScrollbarMode VScrollBehavior { get; set; }
Property Value
Methods
Declaration
public void add_CellClick(GridCellClickEventHandler value)
Parameters
Declaration
public void add_CellDrawn(GridDrawCellEventHandler value)
Parameters
Declaration
public void add_CellMouseDown(GridCellMouseEventHandler value)
Parameters
Declaration
public void add_CurrentCellMoving(GridCurrentCellMovingEventHandler value)
Parameters
Declaration
public void add_DateMouseHover(DateHoverEventHandler value)
Parameters
Declaration
public void add_MoveCurrentCellDirection(GridMoveCurrentCellDirectionEventHandler value)
Parameters
Declaration
public void BringToFront()
Declaration
protected void InitializeGrid()
Declaration
Declaration
protected virtual void OnOffset()
Declaration
Declaration
public void RefreshRange(GridRangeInfo range)
Parameters
Declaration
public void RefreshRange(GridRangeInfo range, bool forceRefreshCurrentCell)
Parameters
| Type |
Name |
Description |
| GridRangeInfo |
range |
|
| System.Boolean |
forceRefreshCurrentCell |
|
Declaration
public void remove_CellClick(GridCellClickEventHandler value)
Parameters
Declaration
public void remove_CellDrawn(GridDrawCellEventHandler value)
Parameters
Declaration
public void remove_CellMouseDown(GridCellMouseEventHandler value)
Parameters
Declaration
public void remove_CurrentCellMoving(GridCurrentCellMovingEventHandler value)
Parameters
Declaration
public void remove_DateMouseHover(DateHoverEventHandler value)
Parameters
Declaration
public void remove_MoveCurrentCellDirection(GridMoveCurrentCellDirectionEventHandler value)
Parameters
Declaration
public void SetRowHeight(int from, int last, int value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
from |
|
| System.Int32 |
last |
|
| System.Int32 |
value |
|
Events
Declaration
public event GridCellClickEventHandler CellClick
Event Type
Declaration
public event GridDrawCellEventHandler CellDrawn
Event Type
Declaration
public event GridCellMouseEventHandler CellMouseDown
Event Type
Declaration
public event EventHandler Click
Event Type
Declaration
public event GridCurrentCellMovingEventHandler CurrentCellMoving
Event Type
Declaration
public event DateHoverEventHandler DateMouseHover
Event Type
Declaration
public event KeyEventHandler KeyUp
Event Type
| Type |
| System.Windows.Forms.KeyEventHandler |
Declaration
public event MouseEventHandler MouseDown
Event Type
| Type |
| System.Windows.Forms.MouseEventHandler |
Declaration
public event GridMoveCurrentCellDirectionEventHandler MoveCurrentCellDirection
Event Type