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.​ParenthesizePropertyNameAttribute
Assembly: System.ComponentModel.Primitives
Inheritance: object → Attribute → ParenthesizePropertyNameAttribute
Indicates whether the name of the associated property is displayed with parentheses in the Properties window. This class cannot be inherited.
Fields and Constants
public static readonly
ParenthesizePropertyNameAttribute
Default
Initializes a new instance of the <see cref="T:System.ComponentModel.ParenthesizePropertyNameAttribute" /> class with a default value that indicates that the associated property should not be shown with parentheses. This field is read-only.
Properties
public
bool
NeedParenthesis
Gets a value indicating whether the Properties window displays the name of the property in parentheses in the Properties window.
public
object
TypeId
Methods
public
bool
Equals​(object obj)
Compares the specified object to this object and tests for equality.
Returns <see langword="true" /> if equal; otherwise, <see langword="false" /> .
public
int
GetHashCode​()
Gets the hash code for this object.
Returns The hash code for the object the attribute belongs to.
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 current value of the attribute is the default value of the attribute; otherwise, <see langword="false" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object