ActivityDesigner.IsPrimarySelection 屬性

定義

取得值,指出與設計工具相關聯的活動是否為主要選取範圍。Gets a value that indicates whether the activity associated with the designer is the primary selection.

public:
 property bool IsPrimarySelection { bool get(); };
public bool IsPrimarySelection { get; }
member this.IsPrimarySelection : bool
Public ReadOnly Property IsPrimarySelection As Boolean

屬性值

如果與設計工具關聯的活動為主要選取範圍則為 true,否則為 falsetrue if the activity associated with the designer is the primary selection; otherwise, false.

備註

您可以使用 IsPrimarySelection 來影響反白顯示或更新工作流程中圖形表示的屬性工作表 (Property Sheet)。You can use IsPrimarySelection to affect highlighting or update property sheets in your graphical representation of the workflow. IsPrimarySelection 在選取多重活動時很有用,因為 IsPrimarySelection 會指出多重選取的起點。IsPrimarySelection is useful when multiple activities are selected as IsPrimarySelection will indicate the starting point of a multiple selection.

適用於