C# Class System.Windows.Controls.SelectionMultiple

Implements the logic for the multiple selection strategy.
Inheritance: ISelectionStrategy
显示文件 Open project: ygoe/MultiSelectTreeView Class Usage Examples

Private Properties

Property Type Description
DeselectByRectangle bool
GetFocusedItem MultiSelectTreeViewItem
SelectByRectangle bool
SelectFromKey bool
SelectPageUpDown bool

Public Methods

Method Description
ApplyTemplate ( ) : void
Deselect ( MultiSelectTreeViewItem item, bool bringIntoView = false ) : bool
Dispose ( ) : void
InvalidateLastShiftRoot ( object item ) : void
Select ( MultiSelectTreeViewItem item ) : bool
SelectAllFromKey ( ) : bool
SelectCore ( MultiSelectTreeViewItem item ) : bool
SelectCurrentBySpace ( ) : bool
SelectFirstFromKey ( ) : bool
SelectLastFromKey ( ) : bool
SelectNextFromKey ( ) : bool
SelectPageDownFromKey ( ) : bool
SelectPageUpFromKey ( ) : bool
SelectParentFromKey ( ) : bool
SelectPreviousFromKey ( ) : bool
SelectionMultiple ( System.Windows.Controls.MultiSelectTreeView treeView ) : System.Collections

Protected Methods

Method Description
OnPreviewSelectionChanged ( System.Windows.Controls.PreviewSelectionChangedEventArgs e ) : void

Private Methods

Method Description
DeselectByRectangle ( MultiSelectTreeViewItem item ) : bool
GetFocusedItem ( ) : MultiSelectTreeViewItem
SelectByRectangle ( MultiSelectTreeViewItem item ) : bool
SelectFromKey ( MultiSelectTreeViewItem item ) : bool
SelectPageUpDown ( bool down ) : bool

Method Details

ApplyTemplate() public method

public ApplyTemplate ( ) : void
return void

Deselect() public method

public Deselect ( MultiSelectTreeViewItem item, bool bringIntoView = false ) : bool
item MultiSelectTreeViewItem
bringIntoView bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

InvalidateLastShiftRoot() public method

public InvalidateLastShiftRoot ( object item ) : void
item object
return void

OnPreviewSelectionChanged() protected method

protected OnPreviewSelectionChanged ( System.Windows.Controls.PreviewSelectionChangedEventArgs e ) : void
e System.Windows.Controls.PreviewSelectionChangedEventArgs
return void

Select() public method

public Select ( MultiSelectTreeViewItem item ) : bool
item MultiSelectTreeViewItem
return bool

SelectAllFromKey() public method

public SelectAllFromKey ( ) : bool
return bool

SelectCore() public method

public SelectCore ( MultiSelectTreeViewItem item ) : bool
item MultiSelectTreeViewItem
return bool

SelectCurrentBySpace() public method

public SelectCurrentBySpace ( ) : bool
return bool

SelectFirstFromKey() public method

public SelectFirstFromKey ( ) : bool
return bool

SelectLastFromKey() public method

public SelectLastFromKey ( ) : bool
return bool

SelectNextFromKey() public method

public SelectNextFromKey ( ) : bool
return bool

SelectPageDownFromKey() public method

public SelectPageDownFromKey ( ) : bool
return bool

SelectPageUpFromKey() public method

public SelectPageUpFromKey ( ) : bool
return bool

SelectParentFromKey() public method

public SelectParentFromKey ( ) : bool
return bool

SelectPreviousFromKey() public method

public SelectPreviousFromKey ( ) : bool
return bool

SelectionMultiple() public method

public SelectionMultiple ( System.Windows.Controls.MultiSelectTreeView treeView ) : System.Collections
treeView System.Windows.Controls.MultiSelectTreeView
return System.Collections