C# Class WinRTXamlToolkit.Automation.Peers.CalendarButtonAutomationPeer

Exposes T:WinRTXamlToolkit.Controls.Primitives.CalendarButton types to UI automation.
Inheritance: Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer, IGridItemProvider, IInvokeProvider, ISelectionItemProvider
Exibir arquivo Open project: xyzzer/WinRTXamlToolkit

Private Properties

Property Type Description
IInvokeProvider void
ISelectionItemProvider void

Public Methods

Method Description
CalendarButtonAutomationPeer ( CalendarButton owner ) : System

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

Protected Methods

Method Description
GetAutomationControlTypeCore ( ) : AutomationControlType

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

GetClassNameCore ( ) : string

Returns the name of the CalendarButton that is associated with this CalendarButtonAutomationPeer. This method is called by GetClassName.

GetHelpTextCore ( ) : string

Returns the string that describes the functionality of the CalendarButton that is associated with this CalendarButtonAutomationPeer. 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 CalendarButtonAutomationPeer.

GetNameCore ( ) : string

Returns the text label of the CalendarButton that is associated with this CalendarButtonAutomationPeer. 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 for this T:WinRTXamlToolkit.Automation.Peers.CalendarButtonAutomationPeer.

Private Methods

Method Description
IInvokeProvider ( ) : void

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

ISelectionItemProvider ( ) : void

Adds the current element to the collection of selected items.

Method Details

CalendarButtonAutomationPeer() public method

Initializes a new instance of the T:WinRTXamlToolkit.Automation.Peers.CalendarButtonAutomationPeer class.
public CalendarButtonAutomationPeer ( CalendarButton owner ) : System
owner WinRTXamlToolkit.Controls.Primitives.CalendarButton /// The /// /// to associate with this /// . ///
return System

GetAutomationControlTypeCore() protected method

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

GetClassNameCore() protected method

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

GetHelpTextCore() protected method

Returns the string that describes the functionality of the CalendarButton that is associated with this CalendarButtonAutomationPeer. 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 CalendarButtonAutomationPeer.
protected GetLocalizedControlTypeCore ( ) : string
return string

GetNameCore() protected method

Returns the text label of the CalendarButton that is associated with this CalendarButtonAutomationPeer. 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 for this T:WinRTXamlToolkit.Automation.Peers.CalendarButtonAutomationPeer.
protected GetPatternCore ( PatternInterface patternInterface ) : object
patternInterface PatternInterface /// One of the enumeration values. ///
return object