DataGridColumn.DesignMode 属性

定义

获取一个值,该值指示列是否处于设计模式。Gets a value that indicates whether the column is in design mode.

protected:
 property bool DesignMode { bool get(); };
protected bool DesignMode { get; }
member this.DesignMode : bool
Protected ReadOnly Property DesignMode As Boolean

属性值

Boolean

如果该列处于设计模式,则为 true;否则为 falsetrue if the column is in design mode; otherwise, false.

注解

使用 DesignMode 属性以编程方式确定列是否处于设计模式。Use the DesignMode property to programmatically determine whether the column is in design mode.

有关设计模式的详细信息,请参阅 ISite.DesignModeFor more information about design mode, see ISite.DesignMode.

适用于

另请参阅