LockedActivityGlyph 類別

定義

警告

此 API 現已淘汰。

當無法修改與設計工具相關聯的活動時,為 ActivityDesigner 提供要顯示的圖像 (Glyph)。Provides a glyph for an ActivityDesigner to display when the activity associated with the designer cannot be modified.

public ref class LockedActivityGlyph : System::Workflow::ComponentModel::Design::DesignerGlyph
public class LockedActivityGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class LockedActivityGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
type LockedActivityGlyph = class
    inherit DesignerGlyph
Public Class LockedActivityGlyph
Inherits DesignerGlyph
繼承
LockedActivityGlyph
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

LockedActivityGlyph 屬性設定為 IsLocked 時,活動設計工具會顯示 trueAn activity designer displays LockedActivityGlyph when the IsLocked property is set to true.

建構函式

LockedActivityGlyph()

初始化 LockedActivityGlyph 類別的新執行個體。Initializes a new instance of the LockedActivityGlyph class.

欄位

HighestPriority

表示 DesignerGlyph 最高的可能優先權。Represents the highest priority possible for a DesignerGlyph. 這個值是常數。This value is a constant.

(繼承來源 DesignerGlyph)
LowestPriority

表示 DesignerGlyph 最低的可能優先權。Represents the lowest priority possible for a DesignerGlyph. 這個值是常數。This value is a constant.

(繼承來源 DesignerGlyph)
NormalPriority

代表 DesignerGlyph 的一般優先權。Represents the normal priority for a DesignerGlyph. 這個值是常數。This value is a constant.

(繼承來源 DesignerGlyph)

屬性

CanBeActivated

取得值,指出 DesignerGlyph 是否可以在與其相關的 ActivityDesigner 上取得焦點。Gets a value indicating whether the DesignerGlyph can gain focus on the ActivityDesigner with which it is associated.

(繼承來源 DesignerGlyph)
Priority

取得活動設計介面上圖像 (Glyph) 的優先權設定。Gets the priority setting for the glyph on the activity design surface.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetBounds(ActivityDesigner, Boolean)

傳回特定 ActivityDesigner 上的圖像界限。Returns the bounds for the glyph on the specified ActivityDesigner.

GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnActivate(ActivityDesigner)

指示圖像,啟動圖像的動作已經執行。Indicates to the glyph that an action has been performed which has activated the glyph.

(繼承來源 DesignerGlyph)
OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner)

執行任何轉譯活動設計工具介面上圖像時所需的工作。Performs any tasks required to render the glyph on the activity designer surface.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於