共用方式為


LabelShapeTextPropertyDescriptor 類別

LabelShape 的 Text 屬性的屬性描述項。

繼承階層架構

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
        Microsoft.VisualStudio.Modeling.Diagrams.LabelShapeTextPropertyDescriptor

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Class LabelShapeTextPropertyDescriptor _
    Inherits ElementPropertyDescriptor
public class LabelShapeTextPropertyDescriptor : ElementPropertyDescriptor

LabelShapeTextPropertyDescriptor 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 LabelShapeTextPropertyDescriptor 初始化 LabelShapeTextPropertyDescriptor 類別的新執行個體。

回頁首

屬性

  名稱 說明
受保護的屬性 AttributeArray 取得或設定屬性的陣列。 (繼承自 MemberDescriptor)。
公用屬性 Attributes 取得這個成員的屬性集合。 (繼承自 MemberDescriptor)。
公用屬性 Category 取得用來分組定義域屬性,當該屬性會顯示在類別目錄PropertyGrid設定為 [分類] 模式的控制項。 (繼承自 ElementPropertyDescriptor)。
公用屬性 ComponentType 取得這個屬性繫結至該模型元素的型別。 (繼承自 ElementPropertyDescriptor)。
公用屬性 Converter 取得 [說明] 屬性中的轉換子。 (繼承自 ElementPropertyDescriptor)。
公用屬性 Description (覆寫 ElementPropertyDescriptor.Description。)
公用屬性 DesignTimeOnly 取得值,表示這個成員是否只在設計階段設定,如 DesignOnlyAttribute 中所指定的。 (繼承自 MemberDescriptor)。
公用屬性 DisplayName 取得 [說明] 屬性,如中所指定的顯示名稱DisplayNameResourceAttribute。 (繼承自 ElementPropertyDescriptor)。
公用屬性 DomainPropertyInfo 取得用來建立這個屬性描述項的屬性資訊物件。 (繼承自 ElementPropertyDescriptor)。
公用屬性 IsBrowsable 取得值,表示成員是否可瀏覽,如 BrowsableAttribute 中指定的。 (繼承自 MemberDescriptor)。
公用屬性 IsInstanceBased 如果這個 PropertyDescriptor 的執行個體或靜態型別進行測試。 (繼承自 ElementPropertyDescriptor)。
公用屬性 IsLocalizable 取得值,表示這個屬性是否應該當地語系化,如 LocalizableAttribute 中指定的。 (繼承自 PropertyDescriptor)。
公用屬性 IsReadOnly 取得值,指出 [描述] 屬性是唯讀的。 (繼承自 ElementPropertyDescriptor)。
公用屬性 ModelElement 取得用來建立這個屬性描述項的模型項目。 (繼承自 ElementPropertyDescriptor)。
公用屬性 Name 取得成員的名稱。 (繼承自 MemberDescriptor)。
受保護的屬性 NameHashCode 取得成員名稱的雜湊程式碼,如 GetHashCode 中所指定的。 (繼承自 MemberDescriptor)。
公用屬性 PropertyType 取得描述屬性的屬性型別。 (繼承自 ElementPropertyDescriptor)。
公用屬性 SerializationVisibility 取得值,表示這個屬性是否應該序列化,如 DesignerSerializationVisibilityAttribute 中指定的。 (繼承自 PropertyDescriptor)。
公用屬性 SupportsChangeEvents 取得值,表示這個屬性的數值變更告知是否可能來自屬性描述項之外。 (繼承自 PropertyDescriptor)。

回頁首

方法

  名稱 說明
公用方法 AddValueChanged (繼承自 ElementPropertyDescriptor)。
公用方法 CanResetValue 指出是否可以重設網域屬性的值。 (繼承自 ElementPropertyDescriptor)。
受保護的方法 CreateAttributeCollection 使用傳遞給建構函式的屬性陣列,建立屬性的集合。 (繼承自 MemberDescriptor)。
受保護的方法 CreateInstance 建立指定型別的執行個體。 (繼承自 PropertyDescriptor)。
公用方法 Equals 比較這個與另一個物件,以檢視它們是否相等。 (繼承自 PropertyDescriptor)。
受保護的方法 FillAttributes PropertyDescriptor 的屬性加入至父類別中的指定屬性清單。 (繼承自 PropertyDescriptor)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetChildProperties() 傳回預設的 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。
公用方法 GetChildProperties(array<Attribute[]) 使用指定的屬性陣列做為篩選條件,傳回 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。
公用方法 GetChildProperties(Object) 傳回指定物件的 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。
公用方法 GetChildProperties(Object, array<Attribute[]) 使用指定的屬性陣列做為篩選條件,傳回指定物件的 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。
公用方法 GetEditor 取得標準的單行文字編輯器或多行文字編輯器,取決於 [標籤] 圖形是否支援多行。 (覆寫 ElementPropertyDescriptor.GetEditor(Type)。)
公用方法 GetHashCode 傳回這個物件的雜湊程式碼。 (繼承自 PropertyDescriptor)。
受保護的方法 GetInvocationTarget 這個方法會傳回應該在成員的引動過程使用的物件。 (繼承自 PropertyDescriptor)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 GetTypeFromName 使用其名稱以傳回型別。 (繼承自 PropertyDescriptor)。
公用方法 GetValue 取得網域屬性的值。 (繼承自 ElementPropertyDescriptor)。
受保護的方法 GetValueChangedHandler 對特定元件擷取目前的 ValueChanged 事件處理常式集 (繼承自 PropertyDescriptor)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 OnValueChanged 引發您實作的 ValueChanged 事件。 (繼承自 PropertyDescriptor)。
公用方法 RemoveValueChanged (繼承自 ElementPropertyDescriptor)。
公用方法 ResetValue 重設網域屬性的值。 (繼承自 ElementPropertyDescriptor)。
公用方法 SetValue 設定網域屬性的值。 (繼承自 ElementPropertyDescriptor)。
公用方法 ShouldSerializeValue 指出是否應該序列化屬性值的網域。 (繼承自 ElementPropertyDescriptor)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Modeling.Diagrams 命名空間