Constructor FileListBoxItem
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
titlestringTitle of the item.
pathstringPath to file or folder.
doubleClickActionDouble 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
ownerFileListBoxThe FileListBox that owns this item.
titlestringTitle of the item.
pathstringPath to file or folder.
doubleClickActionDouble click action.