Class AllDayAppointmentViewControl
Represents a class which holds all day appointment view control.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class AllDayAppointmentViewControl : Control, IDisposable
Constructors
AllDayAppointmentViewControl()
Initializes a new instance of the AllDayAppointmentViewControl class.
Declaration
public AllDayAppointmentViewControl()
Fields
ExpanderVisibilityProperty
Identifies the ExpanderVisibilityProperty dependency property.
Declaration
public static readonly DependencyProperty ExpanderVisibilityProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for ExpanderVisibilityProperty dependency property. |
IsExpandedProperty
Identifies the IsExpandedProperty dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for IsExpandedProperty dependency property. |
Properties
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 |
---|
System.Windows.Visibility |
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
Dispose()
Disposes all the resources used by the AllDayAppointmentViewControl class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by AllDayAppointmentViewControl class.
Declaration
protected virtual 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). |
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 |
---|---|---|
System.Windows.Size | availableSize | The available size. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnContextMenuOpening(ContextMenuEventArgs)
Occurs when context menu on the element is opened.
Declaration
protected override void OnContextMenuOpening(ContextMenuEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContextMenuEventArgs | e | Context menu event arguments. |
OnCreateAutomationPeer()
Methods to create automation peer for AllDayAppointmentViewControl class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | The AutomationPeer. |
OnMouseDoubleClick(MouseButtonEventArgs)
Occurs when the mouse left button clicked as double time.
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Mouse button event args. |
OnMouseRightButtonDown(MouseButtonEventArgs)
Occurs when the mouse right button is pressed.
Declaration
protected override void OnMouseRightButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Mouse button event args. |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class.
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The mouse button event arguments. |
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)
Occurs on preview mouse left button up.
Declaration
protected override void OnPreviewMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The mouse button event args. |
OnPreviewStylusUp(StylusEventArgs)
Invoked when an unhandled System.Windows.Input.Stylus.PreviewStylusUp attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnPreviewStylusUp(StylusEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.StylusEventArgs | e | The System.Windows.Input.StylusEventArgs that contains the event data. |
OnTouchDown(TouchEventArgs)
Occurs when a finger touches the cell while the finger is over this element.
Declaration
protected override void OnTouchDown(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TouchEventArgs | e | The touch down event args. |