Table of Contents

Interface IPropertyGridNewItemParams

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

Defines customization parameters used when new IPropertyGridItem instances are created in PropertyGrid.

public interface IPropertyGridNewItemParams : IObjectToStringOptions

Properties

Choices

Gets or sets IPropertyGridChoices registered for this property.

Constructed

Gets "constructed" IPropertyGridNewItemParams for this object.

EditKindColor

Gets or sets kind of the Color editor.

EditKindString

Gets or sets kind of the string editor.

EnumIsFlags

Gets or sets whether enum property is flags.

HasEllipsis

Gets or sets whether property editor has ellipsis button.

IsNullable

Gets or sets whether to configure IPropertyGridItem as nullable property.

Label

Gets or sets property label.

OnlyTextReadOnly

Gets or sets whether to make ellipsis button readonly if property is not writable.

Owner

Gets IPropertyGridPropInfoRegistry instance which owns this object.

PropInfo

Gets or sets PropertyInfo associated with this IPropertyGridNewItemParams instance.

TextReadOnly

Gets or sets whether property editor is readonly.

Methods

RaiseButtonClick(IPropertyGridItem)

Raises ButtonClick event.

Events

ButtonClick

Occurs when button is clicked in the property editor.