menu

WinForms

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

    Show / Hide Table of Contents

    Class DateTimeEditAutomationPeer

    Represents a class that provides UI Automation support for DateTimeEdit control.

    Inheritance
    System.Object
    DateTimeEditAutomationPeer
    Implements
    System.Windows.Automation.Provider.IValueProvider
    System.Windows.Automation.Provider.IExpandCollapseProvider
    Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class DateTimeEditAutomationPeer : FrameworkElementAutomationPeer, IValueProvider, IExpandCollapseProvider

    Constructors

    DateTimeEditAutomationPeer(DateTimeEdit)

    Initializes a new instance of the DateTimeEditAutomationPeer class.

    Declaration
    public DateTimeEditAutomationPeer(DateTimeEdit control)
    Parameters
    Type Name Description
    DateTimeEdit control

    The DateTimeEdit control.

    Properties

    ExpandCollapseState

    Gets or Sets the Expand/Collapse state of the calendar popup

    Declaration
    public ExpandCollapseState ExpandCollapseState { get; }
    Property Value
    Type
    System.Windows.Automation.ExpandCollapseState

    IsReadOnly

    Gets the value indicating whether the DateTimeEdit is ReadOnly or not.

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

    Value

    Gets the value of the DateTimeEdit

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

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the DateTimeEdit that is associated with this UIElementAutomationPeer.

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationControlType

    The System.Windows.Automation.Peers.AutomationControlType.Edit enumeration value.

    GetAutomationIdCore()

    Provides the peer's behavior when a UI Automation client calls GetAutomationId or an equivalent UI Automation client API.

    Declaration
    protected override string GetAutomationIdCore()
    Returns
    Type Description
    System.String

    The automation identifier.

    GetChildrenCore()

    Declaration
    protected override List<AutomationPeer> GetChildrenCore()
    Returns
    Type
    System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>

    GetClassNameCore()

    Gets the name of the DateTimeEdit that is associated with this UIElementAutomationPeer.

    Declaration
    protected override string GetClassNameCore()
    Returns
    Type Description
    System.String

    An System.String.Empty string.

    GetHelpTextCore()

    Provides the peer's behavior when a UI Automation client calls GetHelpText or an equivalent UI Automation client API.

    Declaration
    protected override string GetHelpTextCore()
    Returns
    Type Description
    System.String

    The help text.

    GetLocalizedControlTypeCore()

    Overrides the GetLocalizedControlTypeCore method for DateTimeEdit

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

    GetNameCore()

    Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.

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

    The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients.

    GetPattern(PatternInterface)

    Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.

    Declaration
    public override object GetPattern(PatternInterface patternInterface)
    Parameters
    Type Name Description
    System.Windows.Automation.Peers.PatternInterface patternInterface

    A value from the System.Windows.Automation.Peers.PatternInterface enumeration.

    Returns
    Type Description
    System.Object

    The object that supports the specified pattern, or null if unsupported.

    Implements

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