Table of Contents

Interface IPropertyGridTypeRegistry

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains PropertyGrid settings related to Type.

public interface IPropertyGridTypeRegistry : IObjectToStringOptions

Properties

BaseTypeRegistry

Gets PropertyGrid settings related to base type of InstanceType.

CreateFunc

Gets or sets IPropertyGridItem create function.

HasEllipsis

Gets or sets whether property editor has ellipsis button.

InstanceType

Gets Type associated with this IPropertyGridTypeRegistry item.

Methods

AddSimpleAction(string, Action)

Adds simple named action which can be used for any purpose.

GetPropRegistry(PropertyInfo)

Gets PropertyGrid settings related to PropertyInfo.

GetPropRegistry(string)

Gets PropertyGrid settings related to the specified property name.

GetPropRegistryOrNull(PropertyInfo)

Gets PropertyGrid settings related to PropertyInfo if its available, otherwise returns null.

GetPropRegistryOrNull(string)

Gets PropertyGrid settings related to the specified property name if its available, otherwise returns null.

GetSimpleActions()

Gets list of simple actions which were previously added with AddSimpleAction(string, Action).

RaiseButtonClick(IPropertyGridItem)

Raises ButtonClick event.

Events

ButtonClick

Occurs when button is clicked in the property editor.