Table of Contents

Class PreviewInBrowser

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

Implements preview control which uses WebBrowser for the preview of the files.

public class PreviewInBrowser : Control, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo, IFilePreview
Inheritance
PreviewInBrowser
Implements

Constructors

PreviewInBrowser()

Initializes a new instance of the PreviewInBrowser class.

Fields

SupportedExtensions

Gets or sets list of file extension which are supported in PreviewInBrowser.

Properties

Control

Gets preview control.

FileName

Gets or sets path to the previewed file.

Methods

CreatePreviewControl()

Creates this preview control.

IsSupportedFile(string)

Gets whether specified file is supported in this preview control.

Reload()

Reloads the file which is currently previewed.