Constructor PreviewFileSplitted
PreviewFileSplitted(AbstractControl)
Initializes a new instance of the PreviewFileSplitted class.
public PreviewFileSplitted(AbstractControl parent)
Parameters
parentAbstractControlParent 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
centerPanelIFilePreviewThe primary file preview panel to display on the left side.
secondPanelIFilePreviewThe secondary file preview panel to display on the right side.
isRightboolA 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
centerPanelIFilePreviewPreview control which is docked in the center.
secondPanelIFilePreviewSecond preview control.
alignmentElementContentAlignSpecifies the alignment of the second panel.