C# Класс System.Windows.Automation.Peers.TreeViewItemAutomationPeer

Наследование: System.Windows.Automation.Peers.ItemsControlAutomationPeer, IExpandCollapseProvider, ISelectionItemProvider, IScrollItemProvider
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IExpandCollapseProvider void
IScrollItemProvider void
ISelectionItemProvider void
RaiseAutomationIsSelectedChanged void
RaiseExpandCollapseAutomationEvent void

Открытые методы

Метод Описание
TreeViewItemAutomationPeer ( System.Windows.Controls.TreeViewItem owner ) : System.Diagnostics.CodeAnalysis

Initializes a new instance of the T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer class.

Защищенные методы

Метод Описание
GetAutomationControlTypeCore ( ) : AutomationControlType

Gets the control type for the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.

GetClassNameCore ( ) : string

Gets the name of the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetClassName.

GetPatternCore ( PatternInterface patternInterface ) : object

Gets the control pattern for the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer.

Приватные методы

Метод Описание
IExpandCollapseProvider ( ) : void

Displays all child nodes, controls, or content of the control.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IScrollItemProvider ( ) : void

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ISelectionItemProvider ( ) : void

Adds the current element to the collection of selected items.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

RaiseAutomationIsSelectedChanged ( bool isSelected ) : void

Raise the IsSelected property changed event.

RaiseExpandCollapseAutomationEvent ( bool oldValue, bool newValue ) : void

Raise an automation event when a TreeViewItem is expanded or collapsed.

Описание методов

GetAutomationControlTypeCore() защищенный Метод

Gets the control type for the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
protected GetAutomationControlTypeCore ( ) : AutomationControlType
Результат AutomationControlType

GetClassNameCore() защищенный Метод

Gets the name of the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetClassName.
protected GetClassNameCore ( ) : string
Результат string

GetPatternCore() защищенный Метод

Gets the control pattern for the T:WinRTXamlToolkit.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer.
protected GetPatternCore ( PatternInterface patternInterface ) : object
patternInterface PatternInterface /// One of the enumeration values. ///
Результат object

TreeViewItemAutomationPeer() публичный Метод

Initializes a new instance of the T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer class.
public TreeViewItemAutomationPeer ( System.Windows.Controls.TreeViewItem owner ) : System.Diagnostics.CodeAnalysis
owner System.Windows.Controls.TreeViewItem /// The instance /// to associate with this /// . ///
Результат System.Diagnostics.CodeAnalysis