Table of Contents

Constructor PreviewFileRegisterItem

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

PreviewFileRegisterItem(Func<string, bool>, Func<IFilePreview>)

Initializes a new instance of the PreviewFile.PreviewFileRegisterItem class.

public PreviewFileRegisterItem(Func<string, bool> isSupported, Func<IFilePreview> createControl)

Parameters

isSupported Func<string, bool>

Function which is called when preview control needs to be queried whether is supports preview of the specified file.

createControl Func<IFilePreview>

Function which is called when preview control needs to be created.