Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DesignTimeVisibleAttribute

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → Attribute → DesignTimeVisibleAttribute

<see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> marks a component's visibility. If <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Yes" /> is present, a visual designer can show this component on a designer.

Fields and Constants

public static readonly DesignTimeVisibleAttribute
Default
The default visibility which is <see langword="Yes" /> .
public static readonly DesignTimeVisibleAttribute
No
Marks a component as not visible in a visual designer.
public static readonly DesignTimeVisibleAttribute
Yes
Marks a component as visible in a visual designer.

Properties

public bool
Visible
Gets or sets whether the component should be shown at design time.
public object
TypeId

Methods

public bool
Equals​(object obj)
Returns a value that indicates whether this instance is equal to a specified object.
Returns <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" /> .
obj An Object to compare with this instance or a null reference ( <see langword="Nothing" /> in Visual Basic).
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A 32-bit signed integer hash code.
public bool
IsDefaultAttribute​()
Gets a value indicating if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value.
Returns <see langword="true" /> , if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value; otherwise, <see langword="false" /> .
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object