Table of Contents

Method CreateDirItem

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

CreateDirItem(string, string?, string?, IPropertyGridNewItemParams?)

Creates string property with ellipsis button which opens SelectDirectoryDialog when pressed.

public virtual IPropertyGridItem CreateDirItem(string label, string? name = null, string? value = null, IPropertyGridNewItemParams? prm = null)

Parameters

label string

Property label.

name string

Property name.

value string

Default property value.

prm IPropertyGridNewItemParams

Property item create parameters.

Returns

IPropertyGridItem

Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).

Remarks