Class PreviewFileSplitted
Implements preview control which splits its view into two docked panels and uses First and Second preview sub-controls there. When FileName is changed, preview sub-controls are also updated.
public class PreviewFileSplitted : HiddenBorder, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo, IFilePreview
- Inheritance
-
PreviewFileSplitted
- Implements
- Derived
Constructors
- PreviewFileSplitted()
Initializes a new instance of the PreviewFileSplitted class.
- PreviewFileSplitted(AbstractControl)
Initializes a new instance of the PreviewFileSplitted class.
- PreviewFileSplitted(IFilePreview, IFilePreview, ElementContentAlign)
Initializes a new instance of the PreviewFileSplitted class.
- PreviewFileSplitted(IFilePreview, IFilePreview, bool)
Initializes a new instance of the PreviewFileSplitted class with the specified file preview panels and alignment option.
Fields
- DefaultSecondAlignment
Specifies the default alignment for the content of the second preview element.
Properties
- FileName
Gets or sets path to the previewed file.
- First
First preview sub-control which default docking position is at the center.
- MainPanel
Gets the main panel used for arranging and displaying first and second preview panels.
- Second
Second preview sub-control which default docking position is at the right or bottom.
Methods
- AlignSecondPanel(ElementContentAlign)
Aligns the second panel to the specified edge of the container.
- SecondPanelToBottom()
Moves second preview panel to the bottom bar.
- SecondPanelToLeft()
Displays the second panel on the left side of the main panel by adjusting visibility settings.
- SecondPanelToRight()
Moves second preview panel to the right side bar.
- SecondPanelToTop()
Moves the second panel to the top position within the main panel and updates the visibility of other panel sides accordingly.