Udostępnij za pośrednictwem


SelectionContext Class

Definition

Abstract class implementing a method to get the current selection state for a given selection.

public ref class SelectionContext abstract
public abstract class SelectionContext
type SelectionContext = class
Public MustInherit Class SelectionContext
Inheritance
SelectionContext

Constructors

SelectionContext()

Properties

KnownSelectionStates

Override to define the set of supported selection states, ordering determines which states will be checked first.

Methods

GetSelectionState(ICollection)

Iterates the known selection states, and returns the first that is applicable.

Reset()

Resets internal state of selection context and all its states.

Applies to