class ParenthesizePropertyNameAttribute

in global :: System . ComponentModel

Indicates whether the name of the associated property is displayed with parentheses in the Properties window. This class cannot be inherited.


public ParenthesizePropertyNameAttribute( bool needParenthesis )

Initializes a new instance of the class, using the specified value to indicate whether the attribute is displayed with parentheses.

  • needParenthesis if the name should be enclosed in parentheses; otherwise, .

public static ParenthesizePropertyNameAttribute Default

Initializes a new instance of the class with a default value that indicates that the associated property should not be shown with parentheses. This field is read-only.

public bool Equals( object obj )

Compares the specified object to this object and tests for equality.

  • o The object to be compared.
  • Returns if equal; otherwise, .

public bool NeedParenthesis { get; }

Gets a value indicating whether the Properties window displays the name of the property in parentheses in the Properties window.

  • Returns if the property is displayed with parentheses; otherwise, .

public int GetHashCode( )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public ParenthesizePropertyNameAttribute( )

😔 No documentation found.