ViewFlags 枚举

定义

指示设计器的 SetViewFlags(ViewFlags, Boolean) 方法启用了哪些功能。Indicates which features are enabled with the SetViewFlags(ViewFlags, Boolean) method of a designer.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class ViewFlags
[System.Flags]
public enum ViewFlags
type ViewFlags = 
Public Enum ViewFlags
继承
ViewFlags
属性

字段

CustomPaint 1

为设计时显示自定义控件启用绘制事件。Enables painting events for displaying a custom control at design time.

DesignTimeHtmlRequiresLoadComplete 2

推迟所有事件直到控件加载完成为止。Postpones all events until after the control is completely loaded.

TemplateEditing 4

启用设计时模板编辑。Enables template editing at design time.

适用于

另请参阅