C# Class Microsoft.Windows.Automation.Peers.RibbonMenuItemAutomationPeer

An automation peer class which automates RibbonMenuItem control.
Inheritance: System.Windows.Automation.Peers.ItemsControlAutomationPeer
Datei anzeigen Open project: kasicass/kasicass

Public Methods

Method Description
RibbonMenuItemAutomationPeer ( RibbonMenuItem owner ) : System

Initialize Automation Peer for RibbonMenuItem

Protected Methods

Method Description
CreateItemAutomationPeer ( object item ) : ItemAutomationPeer
GetAccessKeyCore ( ) : string

Get KeyTip of the owner control.

GetAutomationControlTypeCore ( ) : AutomationControlType
GetClassNameCore ( ) : string

Return class name for automation clients to display

GetHelpTextCore ( ) : string

Returns help text

Private Methods

Method Description
ConvertToToggleState ( bool value ) : ToggleState
RaiseExpandCollapseAutomationEvent ( bool oldValue, bool newValue ) : void
RaiseToggleStatePropertyChangedEvent ( bool oldValue, bool newValue ) : void

Method Details

CreateItemAutomationPeer() protected method

protected CreateItemAutomationPeer ( object item ) : ItemAutomationPeer
item object
return System.Windows.Automation.Peers.ItemAutomationPeer

GetAccessKeyCore() protected method

Get KeyTip of the owner control.
protected GetAccessKeyCore ( ) : string
return string

GetAutomationControlTypeCore() protected method

protected GetAutomationControlTypeCore ( ) : AutomationControlType
return AutomationControlType

GetClassNameCore() protected method

Return class name for automation clients to display
protected GetClassNameCore ( ) : string
return string

GetHelpTextCore() protected method

Returns help text
protected GetHelpTextCore ( ) : string
return string

RibbonMenuItemAutomationPeer() public method

Initialize Automation Peer for RibbonMenuItem
public RibbonMenuItemAutomationPeer ( RibbonMenuItem owner ) : System
owner Microsoft.Windows.Controls.Ribbon.RibbonMenuItem
return System