Table of Contents

Interface IPropertyGridItem

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

Item of the PropertyGrid.

public interface IPropertyGridItem : IPropInfoAndInstance, IBaseControlItem, IBaseObject

Properties

CanHaveCustomEllipsis

Gets whether property editor can have ellipsis button

Children

Gets list of children properties.

Choices

Gets IPropertyGridChoices used in the item editor.

DefaultLabel

Item label.

DefaultName

Item name.

DefaultValue

Item default value.

FlagsAndAttributes

Gets custom flags and attributes provider. You can store any custom data here.

GetValueFuncForReload

Gets or sets function used when property is reloaded.

Handle

Item handle.

HasChildren

Gets whether Children has items.

IsCategory

Item is category.

IsFlags

Gets whether property editor is EnumFlags.

Owner

Gets PropertyGrid instance which owns this property.

Params

Gets IPropertyGridNewItemParams used when this item was created.

Parent

Gets parent property.

PropertyEditorKind

Gets type of the property editor.

UserData

Gets or sets user data associated with this IPropertyGridItem.

Methods

AddChildren(IEnumerable<IPropertyGridItem>)

Adds list of IPropertyGridItem to Children.

RaiseButtonClick()

Raises ButtonClick event.

RaisePropertyChanged()

Raises PropertyChanged event.

Events

ButtonClick

Occurs when button is clicked in the property editor.

PropertyChanged

Occurs when property value has been changed.