menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AppointmentControl - WinUI 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.Scheduler.WinUI.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
    Microsoft.UI.Xaml.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
    Microsoft.UI.Xaml.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
    protected override void OnApplyTemplate()

    OnCreateAutomationPeer()

    Methods to create automation peer for AppointmentControl class.

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    Microsoft.UI.Xaml.Automation.Peers.AutomationPeer

    Automation Peer.

    OnDoubleTapped(DoubleTappedRoutedEventArgs)

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

    Declaration
    protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs e

    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
    Microsoft.UI.Xaml.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
    Microsoft.UI.Xaml.DragEventArgs e

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

    OnHolding(HoldingRoutedEventArgs)

    Declaration
    protected override void OnHolding(HoldingRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs e

    OnKeyDown(KeyRoutedEventArgs)

    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(KeyRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.KeyRoutedEventArgs e

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

    OnPointerEntered(PointerRoutedEventArgs)

    Handles the mouse pointer entering the appointment control.

    Declaration
    protected override void OnPointerEntered(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    The pointer entered event arguments.

    OnPointerExited(PointerRoutedEventArgs)

    Handles the mouse pointer exiting the appointment control.

    Declaration
    protected override void OnPointerExited(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    The pointer exited event arguments.

    OnPointerMoved(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerPressed(PointerRoutedEventArgs)

    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 OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

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

    OnPointerReleased(PointerRoutedEventArgs)

    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 OnPointerReleased(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

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

    OnRightTapped(RightTappedRoutedEventArgs)

    Occurs when the mouse right button is released.

    Declaration
    protected override void OnRightTapped(RightTappedRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.RightTappedRoutedEventArgs e

    The mouse button event arguments.

    OnTapped(TappedRoutedEventArgs)

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

    Declaration
    protected override void OnTapped(TappedRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.TappedRoutedEventArgs e

    The mouse button event arguments.

    Implements

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