Class CalendarButtonAutomationPeer
AutomationPeer for CalendarButton
Inheritance
Implements
Namespace: Syncfusion.Windows.Automation.Peers
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public sealed class CalendarButtonAutomationPeer : ButtonAutomationPeer, IGridItemProvider, ISelectionItemProvider
Constructors
CalendarButtonAutomationPeer(CalendarButton)
Initializes a new instance of the CalendarButtonAutomationPeer class.
Declaration
public CalendarButtonAutomationPeer(CalendarButton owner)
Parameters
Type | Name | Description |
---|---|---|
CalendarButton | owner | Owning CalendarButton |
Methods
GetAutomationControlTypeCore()
Gets the control type for the element that is associated with the UI Automation peer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The control type. |
GetClassNameCore()
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The string that contains the name. |
GetHelpTextCore()
Overrides the GetHelpTextCore method for CalendarButtonAutomationPeer
Declaration
protected override string GetHelpTextCore()
Returns
Type |
---|
System.String |
GetLocalizedControlTypeCore()
Overrides the GetLocalizedControlTypeCore method for CalendarButtonAutomationPeer
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
Type |
---|
System.String |
GetNameCore()
Overrides the GetNameCore method for CalendarButtonAutomationPeer
Declaration
protected override string GetNameCore()
Returns
Type |
---|
System.String |
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. |