Class AllDayAppointmentViewControl
Represents a class which holds all day appointment view ontrol.
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
Using a DependencyProperty as the backing store for ExpanderVisibility. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ExpanderVisibilityProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
IsExpandedProperty
Using a DependencyProperty as the backing store for IsExpanded. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
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 | Description |
---|---|
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 | Description |
---|---|
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 finalizer. |
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 |
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)
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
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. |