IControlDesignerTag 介面

定義

提供用於設計階段存取與控制項設計工具關聯之控制項的 HTML 標記的介面。

public interface class IControlDesignerTag
public interface IControlDesignerTag
type IControlDesignerTag = interface
Public Interface IControlDesignerTag

備註

IControlDesignerTag介面是控制項設計工具和設計主控制項之間的合約,可讓設計主控制項在設計階段操作 HTML 標籤。

屬性

IsDirty

取得值,指出是否已變更標記的屬性或內容。

方法

GetAttribute(String)

擷取標記上已識別之屬性的值。

GetContent()

擷取標記 (Tag) 內容的 HTML 標記 (Markup)。

GetOuterContent()

擷取控制項的完整 HTML 標記 (Markup),包括外部標記 (Tag)。

RemoveAttribute(String)

輸出標記中指定的屬性。

SetAttribute(String, String)

設定指定之屬性的值並在必要時建立屬性。

SetContent(String)

設定標記 (Tag) 內容的 HTML 標記 (Markup)。

SetDirty(Boolean)

設定標記的 IsDirty 屬性。

適用於

另請參閱