DesignTimeVisibleAttribute 构造函数

定义

初始化 DesignTimeVisibleAttribute 类的新实例。Initializes a new instance of the DesignTimeVisibleAttribute class.

重载

DesignTimeVisibleAttribute()

新建一个默认值设置为 DesignTimeVisibleAttributefalseCreates a new DesignTimeVisibleAttribute set to the default value of false.

DesignTimeVisibleAttribute(Boolean)

创建新的 DesignTimeVisibleAttribute,并将 Visible 属性设为 visible 中的给定值。Creates a new DesignTimeVisibleAttribute with the Visible property set to the given value in visible.

DesignTimeVisibleAttribute()

新建一个默认值设置为 DesignTimeVisibleAttributefalseCreates a new DesignTimeVisibleAttribute set to the default value of false.

public:
 DesignTimeVisibleAttribute();
public DesignTimeVisibleAttribute ();
Public Sub New ()

DesignTimeVisibleAttribute(Boolean)

创建新的 DesignTimeVisibleAttribute,并将 Visible 属性设为 visible 中的给定值。Creates a new DesignTimeVisibleAttribute with the Visible property set to the given value in visible.

public:
 DesignTimeVisibleAttribute(bool visible);
public DesignTimeVisibleAttribute (bool visible);
new System.ComponentModel.DesignTimeVisibleAttribute : bool -> System.ComponentModel.DesignTimeVisibleAttribute
Public Sub New (visible As Boolean)

参数

visible
Boolean

Visible 属性的设置值相反的值。The value that the Visible property will be set against.

适用于