menu

UWP

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

    Show / Hide Table of Contents

    Class CalendarDayButton

    Represents a button control for the calendar dates in CalendarView control.

    Inheritance
    System.Object
    CalendarDayButton
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Controls.Input
    Assembly: Syncfusion.SfInput.UWP.dll
    Syntax
    public class CalendarDayButton : ContentControl, IDisposable

    Constructors

    CalendarDayButton()

    Initializes a new instance of the CalendarDayButton class.

    Declaration
    public CalendarDayButton()

    Fields

    ParentCalendarProperty

    Using a DependencyProperty as the backing store for parentCalendar. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ParentCalendarProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    ParentCalendar

    Gets or sets the instance of the SfCalendar class.

    Declaration
    public SfCalendar ParentCalendar { get; set; }
    Property Value
    Type
    SfCalendar

    Methods

    Dispose()

    Invoked to dispose the collections

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the specified disposing.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    If set to true disposing.

    MeasureOverride(Size)

    Called to determine the size requirements for this panel.

    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 of the view.

    OnApplyTemplate()

    Initializes all the child elements of CalendarDayButton control.

    Declaration
    protected override void OnApplyTemplate()

    OnHolding(HoldingRoutedEventArgs)

    Occurs when doing long press.

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

    Argument of the event.

    OnPointerCanceled(PointerRoutedEventArgs)

    occurs when pointer canceled.

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

    Argument of the event.

    OnPointerEntered(PointerRoutedEventArgs)

    Occurs when the pointer is entered

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

    Argument of the event.

    OnPointerExited(PointerRoutedEventArgs)

    Occurs when the pointer is exited.

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

    The pointer routed event arguments

    OnPointerPressed(PointerRoutedEventArgs)

    Occurs when the pointer is pressed

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

    Argument of the event.

    OnPointerReleased(PointerRoutedEventArgs)

    Occurs when Pointer is released SfCalendar has changed.

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

    Argument of the event.

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved