Class WeekNumbersGrid
Represents a grid that consists of columns that contain week number cell elements.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class WeekNumbersGrid : CalendarEditGrid, IDisposable
Constructors
WeekNumbersGrid()
Declaration
public WeekNumbersGrid()
Properties
WeekNumberCells
Gets or sets the collection of cells.
Declaration
public ArrayList WeekNumberCells { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ArrayList | Type: System.Collections.ArrayList |
See Also
System.Collections.ArrayList
Methods
CreateCell()
Creates the instance of the single cell.
Declaration
protected override Cell CreateCell()
Returns
Type | Description |
---|---|
Cell | New instance of the cell. |
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. |
SetWeekNumbers(List<WeekNumberCell>)
Sets the cell's content.
Declaration
protected void SetWeekNumbers(List<WeekNumberCell> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<WeekNumberCell> | list | The list of WeekNumberCell. |
UpdateParent()
Updates the parent.
Declaration
protected void UpdateParent()
UpdateStyles(Style)
Updates styles on all cells.
Declaration
protected void UpdateStyles(Style style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Style | style | Style to be set. |
UpdateTemplateAndSelector(DataTemplate, DataTemplateSelector)
Updates data template and data template selector on all cells.
Declaration
protected void UpdateTemplateAndSelector(DataTemplate template, DataTemplateSelector selector)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DataTemplate | template | Data template to be set to the cell. If it is null the local value of data template would be cleared. |
System.Windows.Controls.DataTemplateSelector | selector | Data template selector to be set to the cell. If it is null the local value would be cleared. |
Implements
System.IDisposable