Table of Contents

Constructor PreviewFileSplitted

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

PreviewFileSplitted(AbstractControl)

Initializes a new instance of the PreviewFileSplitted class.

public PreviewFileSplitted(AbstractControl parent)

Parameters

parent AbstractControl

Parent of the control.

PreviewFileSplitted()

Initializes a new instance of the PreviewFileSplitted class.

public PreviewFileSplitted()

PreviewFileSplitted(IFilePreview, IFilePreview, bool)

Initializes a new instance of the PreviewFileSplitted class with the specified file preview panels and alignment option.

[Obsolete("Use the constructor with ElementContentAlign parameter instead.")]
public PreviewFileSplitted(IFilePreview centerPanel, IFilePreview secondPanel, bool isRight)

Parameters

centerPanel IFilePreview

The primary file preview panel to display on the left side.

secondPanel IFilePreview

The secondary file preview panel to display on the right side.

isRight bool

A value indicating whether the secondary panel should be aligned to the right. If true, aligns to the right; otherwise, aligns to the bottom.

Remarks

Use this constructor to configure the layout of file preview panels, allowing for either a side-by-side or stacked arrangement based on the alignment option.

PreviewFileSplitted(IFilePreview, IFilePreview, ElementContentAlign)

Initializes a new instance of the PreviewFileSplitted class.

public PreviewFileSplitted(IFilePreview centerPanel, IFilePreview secondPanel, ElementContentAlign alignment)

Parameters

centerPanel IFilePreview

Preview control which is docked in the center.

secondPanel IFilePreview

Second preview control.

alignment ElementContentAlign

Specifies the alignment of the second panel.