MarshalByValueComponent.DesignMode 屬性

定義

取得值,表示元件目前是否處於設計模式。Gets a value indicating whether the component is currently in design mode.

public:
 virtual property bool DesignMode { bool get(); };
[System.ComponentModel.Browsable(false)]
public virtual bool DesignMode { get; }
member this.DesignMode : bool
Public Overridable ReadOnly Property DesignMode As Boolean

屬性值

如果元件處於設計模式,則為 true,否則為 falsetrue if the component is in design mode; otherwise, false.

屬性

備註

如果元件沒有網站, 這個方法一律false會傳回。If the component does not have a site, this method always returns false.

適用於

另請參閱