menu

WinUI

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

    Show / Hide Table of Contents

    Class DatePickerAutomationPeer

    Exposes SfDatePicker control to UI Automation.

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

    Constructors

    DatePickerAutomationPeer(SfDatePicker)

    Initializes a new instance of the DatePickerAutomationPeer class.

    Declaration
    public DatePickerAutomationPeer(SfDatePicker control)
    Parameters
    Type Name Description
    SfDatePicker control

    The SfDatePicker control.

    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

    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

    Implements

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