Table of Contents

Class SplittedTreeAndCards

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

Implements splitter panel with TreeView or VirtualListBox on the left and CardPanel on the right.

public class SplittedTreeAndCards : LayoutPanel, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
SplittedTreeAndCards
Implements

Constructors

SplittedTreeAndCards()

Initializes a new instance of the SplittedTreeAndCards class.

SplittedTreeAndCards(TreeKind)

Initializes a new instance of the SplittedTreeAndCards class.

Fields

DefaultSashPosition

Gets default sash position.

Properties

Cards

Gets CardPanel attached to the control.

LeftControl

Gets left control.

LeftControlKind

Gets kind of the left control.

ListBox

Gets left control as VirtualListBox.

SelectedIndex

Gets or sets index of the selected item in the TreeView.

TreeView

Gets left control as TreeView.

Methods

Add(string, Func<Control>)

Adds new item.

CreateListBox()

Creates used VirtualListBox control.

CreateTreeView()

Creates used TreeView control.

Initialize(TreeKind)

Initializes controls. Called from constructor.

MakeAsListBox()

Calls MakeAsListBox() for the left control if it is TreeView.

OnSelectionChanged(object?, EventArgs)

Called when selection changed in the left control.

SetDebugColors()

Sets debug background colors for the different parts of the control.