Export (0) Print
Expand All

ActivityDesigner.IsPrimarySelection Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft