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.​DesignerSerializationVisibilityAttribute
Assembly: System.ComponentModel.Primitives
Inheritance: object → Attribute → DesignerSerializationVisibilityAttribute
Specifies the type of persistence to use when serializing a property on a component at design time.
Fields and Constants
public static readonly
DesignerSerializationVisibilityAttribute
Content
Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only.
public static readonly
DesignerSerializationVisibilityAttribute
Default
Specifies the default value, which is <see cref="F:System.ComponentModel.DesignerSerializationVisibilityAttribute.Visible" /> , that is, a visual designer uses default rules to generate the value of a property. This <see langword="static" /> field is read-only.
public static readonly
DesignerSerializationVisibilityAttribute
Hidden
Specifies that a serializer should not serialize the value of the property. This <see langword="static" /> field is read-only.
public static readonly
DesignerSerializationVisibilityAttribute
Visible
Specifies that a serializer should be allowed to serialize the value of the property. This <see langword="static" /> field is read-only.
Properties
Visibility
Gets a value indicating the basic serialization mode a serializer should use when determining whether and how to persist the value of a property.
public
object
TypeId
Methods
public
bool
Equals​(object obj)
Indicates whether this instance and a specified object are equal.
Returns <see langword="true" /> if <paramref name="obj" /> is equal to this instance; otherwise, <see langword="false" /> .
obj
Another object to compare to.
public
int
GetHashCode​()
Returns the hash code for this object.
Returns A 32-bit signed integer hash code.
public
bool
IsDefaultAttribute​()
Gets a value indicating whether the current value of the attribute is the default value for the attribute.
Returns <see langword="true" /> if the attribute is set to the default value; otherwise, <see langword="false" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object