menu

WinUI

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

    Show / Hide Table of Contents

    Class CalendarDatePickerAutomationPeer

    Exposes Calendar DatePicker control to UI Automation.

    Inheritance
    System.Object
    CalendarDatePickerAutomationPeer
    Implements
    Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
    Microsoft.UI.Xaml.Automation.Provider.IValueProvider
    Namespace: Syncfusion.UI.Xaml.Automation.Peers
    Assembly: Syncfusion.Calendar.WinUI.dll
    Syntax
    public class CalendarDatePickerAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, IValueProvider

    Constructors

    CalendarDatePickerAutomationPeer(SfCalendarDatePicker)

    Initializes a new instance of the CalendarDatePickerAutomationPeer class.

    Declaration
    public CalendarDatePickerAutomationPeer(SfCalendarDatePicker control)
    Parameters
    Type Name Description
    SfCalendarDatePicker control

    The owner element.

    Properties

    ExpandCollapseState

    Declaration
    public ExpandCollapseState ExpandCollapseState { get; }
    Property Value
    Type
    Microsoft.UI.Xaml.Automation.ExpandCollapseState

    IsReadOnly

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

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type
    System.String

    Methods

    Collapse()

    Declaration
    public void Collapse()

    Expand()

    Declaration
    public void Expand()

    GetAutomationControlTypeCore()

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type
    Microsoft.UI.Xaml.Automation.Peers.AutomationControlType

    GetLocalizedControlTypeCore()

    Declaration
    protected override string GetLocalizedControlTypeCore()
    Returns
    Type
    System.String

    GetNameCore()

    Declaration
    protected override string GetNameCore()
    Returns
    Type
    System.String

    GetPatternCore(PatternInterface)

    Declaration
    protected override object GetPatternCore(PatternInterface patternInterface)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Automation.Peers.PatternInterface patternInterface
    Returns
    Type
    System.Object

    SetValue(String)

    Declaration
    public void SetValue(string value)
    Parameters
    Type Name Description
    System.String value

    Implements

    Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
    Microsoft.UI.Xaml.Automation.Provider.IValueProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved