EmptySelection Properties

 

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

NameDescription
System_CAPS_pubpropertyActualSelection

Gets the actual selection.(Inherited from SelectionState.)

System_CAPS_pubpropertyCoercedSelection

We need to return an empty collection here to cause a coercion failure. This is a bit odd, but necessary given implementation of SelectionState.IsCoercionFailure.(Overrides SelectionState::CoercedSelection.)

System_CAPS_protpropertyCoercedSelectionCache

(Inherited from SelectionState.)

System_CAPS_pubpropertyCoercedSelectionModelElements

It is possible for the CoercedSelection to include Pels and Mels which are associated with Pels that are not already included. This method returns a list that replaces the Pels in the coerced selection with their associated Mels, plus any mels from the coerced selection that did not have pels.(Inherited from SelectionState.)

System_CAPS_pubpropertyCoercedSelectionPresentationElements

It is possible for the CoercedSelection to include Pels and Mels which are associated with Pels that are not already included. This method returns a collection which excludes any Mels.(Inherited from SelectionState.)

System_CAPS_pubpropertyCoercionCompliantSelection

Returns the list of selected objects which comply with the coercion rules. If the selection is coercable, then the coerced selection will be returned; if there is a coercion failure the list will be empty. If there are no coercion rules (!IsCoercable), then the actual selection is returned.(Inherited from SelectionState.)

System_CAPS_pubpropertyHasCoercion

Determines if the selection has a valid coercion.(Inherited from SelectionState.)

System_CAPS_pubpropertySystem_CAPS_staticInstance

Singleton EmptySelection instance

System_CAPS_pubpropertyIsActualSelectionMixed

True if all selected objects in the actual selection are of the same type.(Inherited from SelectionState.)

System_CAPS_pubpropertyIsCoercedSelectionMixed

True if all selected objects in the coerced selection are of the same type.(Inherited from SelectionState.)

System_CAPS_pubpropertyIsCoercible

Determines if the actual selection can be coerced. Togegher IsCoercible and IsCoercionFailure distinguish between coercion failure, and no coercion available.(Inherited from SelectionState.)

System_CAPS_pubpropertyIsCoercionFailure

Togegher IsCoercible and IsCoercionFailure distinguish between coercion failure, and no coercion available.(Inherited from SelectionState.)

Return to top
Show: