Class CalendarAutomationPeer
AutomationPeer for Calendar Control
Inheritance
System.Object
CalendarAutomationPeer
Implements
System.Windows.Automation.Provider.IGridProvider
System.Windows.Automation.Provider.IMultipleViewProvider
System.Windows.Automation.Provider.ISelectionProvider
System.Windows.Automation.Provider.ITableProvider
Namespace: Syncfusion.Windows.Automation.Peers
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public sealed class CalendarAutomationPeer : FrameworkElementAutomationPeer, IGridProvider, IMultipleViewProvider, ISelectionProvider, ITableProvider
Constructors
CalendarAutomationPeer(Calendar)
Initializes a new instance of the CalendarAutomationPeer class.
Declaration
public CalendarAutomationPeer(Calendar owner)
Parameters
Type | Name | Description |
---|---|---|
Calendar | owner | Owning Calendar |
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. |
GetChildrenCore()
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
Type |
---|
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> |
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. |
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.IGridProvider
System.Windows.Automation.Provider.IMultipleViewProvider
System.Windows.Automation.Provider.ISelectionProvider
System.Windows.Automation.Provider.ITableProvider