Class YearRangeGrid
Represents a grid that consists of columns and rows which contain year range cell elements.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class YearRangeGrid : CalendarEditGrid, IDisposable
Constructors
YearRangeGrid()
Initializes a new instance of the YearRangeGrid class.
Declaration
public YearRangeGrid()
Properties
ParentCalendar
Gets or sets the parent.
Declaration
protected CalendarEdit ParentCalendar { get; set; }
Property Value
Type | Description |
---|---|
CalendarEdit | Type: CalendarEdit |
See Also
Methods
CreateCell()
Creates new instance of the YearRangeCell class.
Declaration
protected override Cell CreateCell()
Returns
Type | Description |
---|---|
Cell | New instance of the YearRangeCell class. |
Overrides
Dispose()
Release the unmanaged resources of YearRangeGrid.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of YearRangeGrid.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Used to indicate perform dispose or not. |
Overrides
Initialize(VisibleDate, CultureInfo, Calendar)
Initializes content of YearRangeGrid.
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
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. |
SetIsBelongToCurrentRange()
Sets the SetIsBelongToCurrentRange() property of the YearRangeCell.
Declaration
protected void SetIsBelongToCurrentRange()
SetIsSelected(VisibleDate)
Sets the selected cell.
Declaration
public override void SetIsSelected(VisibleDate date)
Parameters
Type | Name | Description |
---|---|---|
VisibleDate | date | Current date. |
Overrides
SetYearRange(VisibleDate, Calendar)
Sets the SetYearRange(VisibleDate, Calendar) property of the YearRangeCell.
Declaration
protected void SetYearRange(VisibleDate date, Calendar calendar)
Parameters
Type | Name | Description |
---|---|---|
VisibleDate | date | Current date. |
System.Globalization.Calendar | calendar | Current calendar. |
SetYearRangeCellContent()
Sets the content of the year range cell.
Declaration
protected void SetYearRangeCellContent()