Class CalendarEditGrid
Implements the basic functionality required by the grid.
Inheritance
System.Object
CalendarEditGrid
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public abstract class CalendarEditGrid : Grid, IDisposable
Constructors
CalendarEditGrid(Int32, Int32)
Initializes a new instance of the CalendarEditGrid class.
Declaration
public CalendarEditGrid(int rowsCount, int columnsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowsCount | Number of rows. |
System.Int32 | columnsCount | Number of columns. |
Properties
CellsCollection
Gets or sets DayCell collection.
Declaration
protected ArrayList CellsCollection { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ArrayList | Type: System.Collections.ArrayList |
See Also
System.Collections.ArrayList
ColumnsCount
Gets or sets the columns count.
Declaration
protected int ColumnsCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The columns count. |
FocusedCellIndex
Gets or sets index of the focused cell.
Declaration
protected int FocusedCellIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: FocusedCellIndex |
See Also
RowsCount
Gets or sets count of the rows.
Declaration
protected int RowsCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: RowsCount |
See Also
Methods
AddToInnerGrid(UIElement)
Adds element to the innerGrid children collection.
Declaration
protected void AddToInnerGrid(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | Element to be added. |
CreateCell()
Creates instance of the single cell.
Declaration
protected abstract Cell CreateCell()
Returns
Type | Description |
---|---|
Cell | New instance of the cell. |
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of CalendarEditGrid.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Initialize(VisibleDate, CultureInfo, Calendar)
Initializes grid content.
Declaration
public virtual 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. |
SetIsSelected(VisibleDate)
Sets the selected element.
Declaration
public virtual void SetIsSelected(VisibleDate date)
Parameters
Type | Name | Description |
---|---|---|
VisibleDate | date | Current date. |
Implements
System.IDisposable