[]
        
(Showing Draft Content)

C1.WPF.PropertyGrid.PropertyGroup

PropertyGroup Class

Group of PropertyAttribute which has same PropertyInfo

Inheritance
PropertyGroup
Namespace: C1.WPF.PropertyGrid
Assembly: C1.WPF.PropertyGrid.dll
Syntax
public class PropertyGroup

Properties

Name Description
Category

Gets the category.

DisplayIndex

Gets the display index associated to this group of PropertyAttribute.

DisplayName

Gets the display name.

IsDefaultValue

Gets whether all the properties have the default value.

IsDefined

Gets whether all the properties have a corresponding PropertyInfo.

IsReadOnly

Gets whether the group of attributes is read-only.

MemberName

Gets the member name.

Properties

a group of propertyAttribute which has same propertyInfo

PropertyInfo

Gets the PropertyInfo associated to this group of PropertyAttribute.

Methods

Name Description
GetErrors()

Gets the errors in the group.

GetValue<T>()

Gets the value of the group or default if they are different.

IsAssignableFrom(Type)

Gets whether the group can be assigned from the specified type.

ResetValue()

Resets the value in all the properties of the group.

SetValue(object, IValueConverter)

Sets the value in all the properties of the group.

Events

Name Description
ValueChanged

Called when the value of the group changed for any of the properties.