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

AutomationPeer for Ribbon Supports Selection, ExpandCollapse and Scroll Patterns
Inheritance: System.Windows.Automation.Peers.SelectorAutomationPeer, IExpandCollapseProvider, ISelectionProvider
Datei anzeigen Open project: kasicass/kasicass Class Usage Examples

Private Properties

Property Type Description
RaiseExpandCollapseAutomationEvent void

Public Methods

Method Description
Collapse ( ) : void

Set Ribbon.IsMinimized to true

Expand ( ) : void

Set Ribbon.IsMinimized to false

GetPattern ( PatternInterface patternInterface ) : object
RibbonAutomationPeer ( Ribbon owner ) : System

Protected Methods

Method Description
CreateItemAutomationPeer ( object item ) : ItemAutomationPeer
GetAutomationControlTypeCore ( ) : AutomationControlType
GetChildrenCore ( ) : System.Collections.Generic.List
GetClassNameCore ( ) : string
IsOffscreenCore ( ) : bool
SetFocusCore ( ) : void

Private Methods

Method Description
RaiseExpandCollapseAutomationEvent ( bool oldValue, bool newValue ) : void

Method Details

Collapse() public method

Set Ribbon.IsMinimized to true
public Collapse ( ) : void
return void

CreateItemAutomationPeer() protected method

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

Expand() public method

Set Ribbon.IsMinimized to false
public Expand ( ) : void
return void

GetAutomationControlTypeCore() protected method

protected GetAutomationControlTypeCore ( ) : AutomationControlType
return AutomationControlType

GetChildrenCore() protected method

protected GetChildrenCore ( ) : System.Collections.Generic.List
return System.Collections.Generic.List

GetClassNameCore() protected method

protected GetClassNameCore ( ) : string
return string

GetPattern() public method

public GetPattern ( PatternInterface patternInterface ) : object
patternInterface PatternInterface
return object

IsOffscreenCore() protected method

protected IsOffscreenCore ( ) : bool
return bool

RibbonAutomationPeer() public method

public RibbonAutomationPeer ( Ribbon owner ) : System
owner Ribbon
return System

SetFocusCore() protected method

protected SetFocusCore ( ) : void
return void