ActivityDesigner.IsPrimarySelection Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the activity associated with the designer is the primary selection.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public bool IsPrimarySelection { get; }

Property Value

Type: System.Boolean

true if the activity associated with the designer is the primary selection; otherwise, false.

You can use IsPrimarySelection to affect highlighting or update property sheets in your graphical representation of the workflow. IsPrimarySelection is useful when multiple activities are selected as IsPrimarySelection will indicate the starting point of a multiple selection.

.NET Framework
Available since 3.0
Return to top
Show: