C# 클래스 a7DocumentDbStudio.Utils.a7TreeViewHelper

파일 보기 프로젝트 열기: alekkowalczyk/a7DocumentDbStudio

공개 프로퍼티들

프로퍼티 타입 설명
IsMouseDirectlyOverItemProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
ApplyActionToAllTreeViewItems ( this itemsControl, Action itemAction ) : void
ContainerFromItem ( this treeView, object item ) : System.Windows.Controls.TreeViewItem
ExpandAll ( this treeView ) : void

Expands all children of a TreeView

ExpandAll2 ( this treeView ) : void
GetIsMouseDirectlyOverItem ( DependencyObject obj ) : bool
ItemFromContainer ( this treeView, System.Windows.Controls.TreeViewItem container ) : object
SelectItem ( this treeView, object item ) : void

Searches a TreeView for the provided object and selects it if found

SelectOne ( this treeView, object item, bool isValue ) : void
SelectValue ( this treeView, object value ) : void

Searches a TreeView for the provided object and selects it if found

비공개 메소드들

메소드 설명
CalculateIsMouseDirectlyOverItem ( DependencyObject item, object value ) : object
ContainerFromItem ( ItemContainerGenerator parentItemContainerGenerator, System.Windows.Controls.ItemCollection itemCollection, object item ) : System.Windows.Controls.TreeViewItem
ExpandAndSelectItem ( ItemsControl parentContainer, object itemToSelect, bool isValue, string valuePath, Action beforeSelection, Action afterSelection ) : bool

Finds the provided object in an ItemsControl's children and selects it

ExpandAndSelectItem ( System.Windows.Controls.TreeView treeView, object obj, bool isValue ) : void
ExpandAndSelectItem ( System.Windows.Controls.TreeView treeView, object obj, bool isValue, Action beforeSelection, Action afterSelection ) : void
ExpandSubContainers ( this parentContainer, bool preserveState ) : void

Expands all children of a TreeView or TreeViewItem

ItemFromContainer ( ItemContainerGenerator parentItemContainerGenerator, System.Windows.Controls.ItemCollection itemCollection, System.Windows.Controls.TreeViewItem container ) : object
OnMouseTransition ( object sender, System.Windows.Input.MouseEventArgs args ) : void
OnUpdateOverItem ( object sender, RoutedEventArgs args ) : void
a7TreeViewHelper ( ) : System

메소드 상세

ApplyActionToAllTreeViewItems() 공개 정적인 메소드

public static ApplyActionToAllTreeViewItems ( this itemsControl, Action itemAction ) : void
itemsControl this
itemAction Action
리턴 void

ContainerFromItem() 공개 정적인 메소드

public static ContainerFromItem ( this treeView, object item ) : System.Windows.Controls.TreeViewItem
treeView this
item object
리턴 System.Windows.Controls.TreeViewItem

ExpandAll() 공개 정적인 메소드

Expands all children of a TreeView
public static ExpandAll ( this treeView ) : void
treeView this The TreeView whose children will be expanded
리턴 void

ExpandAll2() 공개 정적인 메소드

public static ExpandAll2 ( this treeView ) : void
treeView this
리턴 void

GetIsMouseDirectlyOverItem() 공개 정적인 메소드

public static GetIsMouseDirectlyOverItem ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

ItemFromContainer() 공개 정적인 메소드

public static ItemFromContainer ( this treeView, System.Windows.Controls.TreeViewItem container ) : object
treeView this
container System.Windows.Controls.TreeViewItem
리턴 object

SelectItem() 공개 정적인 메소드

Searches a TreeView for the provided object and selects it if found
public static SelectItem ( this treeView, object item ) : void
treeView this The TreeView containing the item
item object The item to search and select
리턴 void

SelectOne() 공개 정적인 메소드

public static SelectOne ( this treeView, object item, bool isValue ) : void
treeView this
item object
isValue bool
리턴 void

SelectValue() 공개 정적인 메소드

Searches a TreeView for the provided object and selects it if found
public static SelectValue ( this treeView, object value ) : void
treeView this The TreeView containing the item
value object
리턴 void

프로퍼티 상세

IsMouseDirectlyOverItemProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows IsMouseDirectlyOverItemProperty
리턴 System.Windows.DependencyProperty