C# Class WinRTXamlToolkit.Automation.Peers.CalendarDayButtonAutomationPeer

Exposes T:WinRTXamlToolkit.Controls.Primitives.CalendarDayButton types to UI Automation.
Inheritance: Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer, IGridItemProvider, IInvokeProvider, ISelectionItemProvider, ITableItemProvider
Show file Open project: xyzzer/WinRTXamlToolkit

Private Properties

Property Type Description
EnsureSelection bool
IInvokeProvider void
ISelectionItemProvider void
ITableItemProvider IRawElementProviderSimple[]

Public Methods

Method Description
CalendarDayButtonAutomationPeer ( CalendarDayButton owner ) : System

Initializes a new instance of the T:WinRTXamlToolkit.Automation.Peers.CalendarDayButtonAutomationPeer class.

Protected Methods

Method Description
GetAutomationControlTypeCore ( ) : AutomationControlType

Returns the control type for the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetAutomationControlType.

GetClassNameCore ( ) : string

Returns the name of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetClassName.

GetHelpTextCore ( ) : string

Returns the string that describes the functionality of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetHelpText.

GetLocalizedControlTypeCore ( ) : string

Returns the localized version of the control type for the owner type that is associated with this CalendarDayButtonAutomationPeer.

GetNameCore ( ) : string

Returns the text label of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetName.

The name property can be thought of as the string of text that a user would use to explain which control is being referred to. It is important to have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner. The value is settable on control instances through the AutomationProperties.Name attached property.

GetPatternCore ( PatternInterface patternInterface ) : object

Gets the control pattern implementation for this T:WinRTXamlToolkit.Automation.Peers.CalendarDayButtonAutomationPeer.

Private Methods

Method Description
EnsureSelection ( ) : bool

Ensure selection of the CalendarDayButton is possible.

IInvokeProvider ( ) : void

Sends a request to activate the control and to initiate its single, unambiguous action.

ISelectionItemProvider ( ) : void

Adds the current element to the collection of selected items.

ITableItemProvider ( ) : IRawElementProviderSimple[]

Retrieves a collection of UI Automation providers that represent all the column headers that are associated with a table item or cell.

Method Details

CalendarDayButtonAutomationPeer() public method

Initializes a new instance of the T:WinRTXamlToolkit.Automation.Peers.CalendarDayButtonAutomationPeer class.
public CalendarDayButtonAutomationPeer ( CalendarDayButton owner ) : System
owner WinRTXamlToolkit.Controls.Primitives.CalendarDayButton /// The /// /// instance that is associated with this /// . ///
return System

GetAutomationControlTypeCore() protected method

Returns the control type for the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetAutomationControlType.
protected GetAutomationControlTypeCore ( ) : AutomationControlType
return AutomationControlType

GetClassNameCore() protected method

Returns the name of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetClassName.
protected GetClassNameCore ( ) : string
return string

GetHelpTextCore() protected method

Returns the string that describes the functionality of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetHelpText.
protected GetHelpTextCore ( ) : string
return string

GetLocalizedControlTypeCore() protected method

Returns the localized version of the control type for the owner type that is associated with this CalendarDayButtonAutomationPeer.
protected GetLocalizedControlTypeCore ( ) : string
return string

GetNameCore() protected method

Returns the text label of the CalendarDayButton that is associated with this CalendarDayButtonAutomationPeer. This method is called by GetName.
The name property can be thought of as the string of text that a user would use to explain which control is being referred to. It is important to have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner. The value is settable on control instances through the AutomationProperties.Name attached property.
protected GetNameCore ( ) : string
return string

GetPatternCore() protected method

Gets the control pattern implementation for this T:WinRTXamlToolkit.Automation.Peers.CalendarDayButtonAutomationPeer.
protected GetPatternCore ( PatternInterface patternInterface ) : object
patternInterface PatternInterface /// One of the enumeration values. ///
return object