MergablePropertyAttribute.Yes Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies that a property can be combined with properties belonging to other objects in a Properties window. This static field is read-only.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public static readonly MergablePropertyAttribute Yes

This field is the default setting for this attribute.

When you mark a property with the MergablePropertyAttribute set to true, the value of this attribute is set to the constant member Yes. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as MergablePropertyAttribute.Yes.

.NET Framework
Available since 1.1
Return to top