menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AppointmentControl - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AppointmentControl

    Represents appointment control of all schedule views.

    Inheritance
    System.Object
    AppointmentControl
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.dll
    Syntax
    public class AppointmentControl : ContentControl, IDisposable

    Constructors

    AppointmentControl()

    Initializes a new instance of the AppointmentControl class.

    Declaration
    public AppointmentControl()

    Fields

    SelectionBorderBrushProperty

    Identifies the SelectionBorderBrush dependency property.

    Declaration
    public static readonly DependencyProperty SelectionBorderBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    The identifier for SelectionBorderBrush dependency property.

    Properties

    SelectionBorderBrush

    Gets or sets the border brush for the selected appointment.

    Declaration
    public Brush SelectionBorderBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    Methods

    Dispose()

    Disposes all the resources used by the AppointmentControl class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by AppointmentControl 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).

    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 AppointmentControl class.

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Automation Peer.

    OnDragEnter(DragEventArgs)

    Invoked when an unhandled System.Windows.DragDrop.DragEnter attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnDragEnter(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    The System.Windows.DragEventArgs that contains the event data.

    OnDragLeave(DragEventArgs)

    Invoked when an unhandled System.Windows.DragDrop.DragLeave attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnDragLeave(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    The System.Windows.DragEventArgs that contains the event data.

    OnDragOver(DragEventArgs)

    Invoked when an unhandled System.Windows.DragDrop.DragOver attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnDragOver(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    The System.Windows.DragEventArgs that contains the event data.

    OnDrop(DragEventArgs)

    Invoked when an unhandled System.Windows.DragDrop.DragEnter attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnDrop(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    The System.Windows.DragEventArgs that contains the event data.

    OnKeyDown(KeyEventArgs)

    Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    The System.Windows.Input.KeyEventArgs that contains the event data.

    OnMouseDoubleClick(MouseButtonEventArgs)

    Raises the System.Windows.Controls.Control.MouseDoubleClick routed event.

    Declaration
    protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The event data.

    OnMouseEnter(MouseEventArgs)

    Handles the mouse pointer enter event of the appointment control.

    Declaration
    protected override void OnMouseEnter(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The MouseEventArgs instance containing the event data.

    OnMouseLeave(MouseEventArgs)

    Handles the mouse pointer leave event of the appointment control.

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The MouseEventArgs instance containing the event data.

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Occurs when the left mouse button is released while the mouse pointer is over this element.

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event arguments.

    OnMouseRightButtonUp(MouseButtonEventArgs)

    Occurs when the mouse right button is released.

    Declaration
    protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event arguments.

    OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

    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 System.Windows.Input.MouseButtonEventArgs that contains the event data.

    OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

    Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnPreviewMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The System.Windows.Input.MouseButtonEventArgs that contains the event data.

    OnPreviewMouseMove(MouseEventArgs)

    Invoked when an unhandled System.Windows.Input.Mouse.PreviewMouseMove attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnPreviewMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The System.Windows.Input.MouseEventArgs that contains the event data.

    OnPreviewStylusDown(StylusDownEventArgs)

    Invoked when an unhandled System.Windows.Input.Stylus.PreviewStylusDown attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnPreviewStylusDown(StylusDownEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusDownEventArgs e

    The System.Windows.Input.StylusDownEventArgs that contains the event data.

    OnPreviewStylusMove(StylusEventArgs)

    Invoked when an unhandled System.Windows.Input.Stylus.PreviewStylusMove attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnPreviewStylusMove(StylusEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusEventArgs e

    The System.Windows.Input.StylusEventArgs that contains the event data.

    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)

    Invoked when an unhandled System.Windows.Input.TouchEventArgs attached event reaches an element in its route that is derived from this class.

    Declaration
    protected override void OnTouchDown(TouchEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TouchEventArgs e

    The System.Windows.Input.TouchEventArgs that contains the event data.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved