Table of Contents

Method CreateFilenameItem

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

CreateFilenameItem(string, string?, string?, IPropertyGridNewItemParams?)

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

public virtual IPropertyGridItem CreateFilenameItem(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