Class DayNameCell
Represents a day name cell of the CalendarEdit control.
Inheritance
System.Object
DayNameCell
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class DayNameCell : ContentControl
Constructors
DayNameCell()
Declaration
public DayNameCell()
Properties
CornerRadius
Gets or sets m_CornerRadius.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.CornerRadius | Type: CornerRadius |
See Also
Methods
OnCreateAutomationPeer()
Creates an appropriate AutomationPeer for CalendarEdit
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | Automation peer of CalendarEdit |
SetStyle(Style)
Sets style of the cell.
Declaration
protected void SetStyle(Style style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Style | style | Style to be set. |
UpdateCellTemplateAndSelector(DataTemplate, DataTemplateSelector)
Updates data template and data template selector of the cell.
Declaration
protected void UpdateCellTemplateAndSelector(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. |
Remarks
Both template and selector can not be set at the same time.