Table of Contents

Constructor FileListBoxItem

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

FileListBoxItem(string?, string?, Action?)

Initializes a new instance of the FileListBoxItem class. This is an obsolete constructor. Use the constructor that includes the owner parameter instead to ensure proper initialization of the item within a FileListBox context.

[Obsolete("This constructor is obsolete. Use the constructor with the owner parameter.")]
public FileListBoxItem(string? title, string? path, Action? doubleClick = null)

Parameters

title string

Title of the item.

path string

Path to file or folder.

doubleClick Action

Double click action.

FileListBoxItem(FileListBox, string?, string?, Action?)

Initializes a new instance of the FileListBoxItem class.

public FileListBoxItem(FileListBox owner, string? title, string? path, Action? doubleClick = null)

Parameters

owner FileListBox

The FileListBox that owns this item.

title string

Title of the item.

path string

Path to file or folder.

doubleClick Action

Double click action.