Class DayViewControl
Represents a class which contains the day cells to be displayed in day view.
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class DayViewControl : ViewControlBase, IDisposable, INotifyPropertyChangedConstructors
DayViewControl()
Initializes a new instance of the DayViewControl class.
Declaration
public DayViewControl()Fields
ExpanderVisibilityProperty
Identifies the ExpanderVisibilityProperty dependency property.
Declaration
public static readonly DependencyProperty ExpanderVisibilityPropertyField Value
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.DependencyProperty | The identifier for ExpanderVisibilityProperty dependency property. | 
IsExpandedProperty
Identifies the IsExpandedProperty dependency property.
Declaration
public static readonly DependencyProperty IsExpandedPropertyField Value
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.DependencyProperty | The identifier for IsExpandedProperty dependency property. | 
Properties
AllDayPanelHeight
Gets or sets the all day panel height.
Declaration
public double AllDayPanelHeight { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ExpanderVisibility
Gets or sets a value which indicates whether all day panel is collapsed or not.
Declaration
public Visibility ExpanderVisibility { get; set; }Property Value
| Type | 
|---|
| Microsoft.UI.Xaml.Visibility | 
HeaderControl
Gets or sets the header row control.
Declaration
public ViewHeaderControl HeaderControl { get; set; }Property Value
| Type | 
|---|
| ViewHeaderControl | 
IsExpanded
Gets or sets a value indicating whether all day panel is expanded or not.
Declaration
public bool IsExpanded { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.Foundation.Size | finalSize | 
Returns
| Type | 
|---|
| Windows.Foundation.Size | 
Dispose(Boolean)
Disposes all the resources used by the DayViewControl class.
Declaration
protected override void Dispose(bool disposing)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | Indicates whether the call is from Dispose method or from a System.GC.SuppressFinalize(System.Object). | 
Overrides
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.Foundation.Size | availableSize | The available size. | 
Returns
| Type | Description | 
|---|---|
| Windows.Foundation.Size | The size. | 
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
protected override void OnApplyTemplate()OnCreateAutomationPeer()
Methods to create automation peer for AllDayAppointmentViewControl class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()Returns
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | Automation peer. |