WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CalendarDayButton - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CalendarDayButton

    Represents a button control used in Calendar Control, which reacts to the Click event.

    Inheritance
    System.Object
    CalendarDayButton
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Primitives
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public sealed class CalendarDayButton : Button, IDisposable

    Constructors

    CalendarDayButton()

    Represents the CalendarDayButton that is used in Calendar Control.

    Declaration
    public CalendarDayButton()

    Fields

    IsBlackedOutProperty

    Dependency property field for IsBlackedOut property

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

    IsHighlightedProperty

    Dependency property field for IsHighlighted property

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

    IsInactiveProperty

    Dependency property field for IsActive property

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

    IsSelectedProperty

    Dependency property field for IsSelected property

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

    IsTodayProperty

    Dependency property field for IsToday property

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

    Properties

    IsBlackedOut

    True if the CalendarDayButton represents a blackout date

    Declaration
    public bool IsBlackedOut { get; }
    Property Value
    Type Description
    System.Boolean

    IsHighlighted

    True if the CalendarDayButton represents a highlighted date

    Declaration
    public bool IsHighlighted { get; }
    Property Value
    Type Description
    System.Boolean

    IsInactive

    True if the CalendarDayButton represents a day that falls in the currently displayed month

    Declaration
    public bool IsInactive { get; }
    Property Value
    Type Description
    System.Boolean

    IsSelected

    True if the CalendarDayButton is selected

    Declaration
    public bool IsSelected { get; }
    Property Value
    Type Description
    System.Boolean

    IsToday

    True if the CalendarDayButton represents today

    Declaration
    public bool IsToday { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Dispose()

    Helps to dispose the CalendarDayButton in Calendar control.

    Declaration
    public void Dispose()

    OnApplyTemplate()

    Apply a template to the button.

    Declaration
    public override void OnApplyTemplate()

    OnCreateAutomationPeer()

    Creates the automation peer for the CalendarDayButton.

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

    OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

    Declaration
    protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyboardFocusChangedEventArgs e

    OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

    Declaration
    protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyboardFocusChangedEventArgs e

    Implements

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