Back to Devexpress

TdxShellTreeView Class

vcl-dxshellcontrols-4b8fc2be.md

latest6.6 KB
Original Source

TdxShellTreeView Class

A Shell Tree View control.

Declaration

delphi
TdxShellTreeView = class(
    TdxCustomShellTreeView
)

Remarks

Shell Tree View is a Tree View control version designed to display Windows Shell content. The Shell Tree View control can synchronize with other DevExpress shell controls and allows you to build fully-functional shell dialogs in your applications.

Main API Members

The list below outlines key members of the TdxShellTreeView class. These members allow you to configure the Shell Tree View control.

Appearance Settings

OptionsViewProvides access to general Tree View appearance settings.

Behavior and User Interaction APIs

AlphaSortSorts shell items by their display names.CustomSort | OnCompareAllow you to implement a custom sort algorithm for shell items.ExpandTo | FullExpand | FullCollapse | MakeVisibleExpand and collapse nodes.FocusedNodeSpecifies the focused node.OptionsBehaviorProvides access to general Tree View behavior settings.OptionsSelectionProvides access to selection-related settings.OnShellChange

Allows you to respond to external changes in Windows Shell.

Note

The OnShellChange event occurs only if the ShellOptions.TrackShellChanges property is set to True ( default ).

ScrollBy | TopItemAllow you to scroll Shell Tree View content.Select | Subselect | Deselect | ClearSelectionSelect and deselect shell items.Selected | SelectionsProvide access to selected shell items.

Shell-Related API Members

FolderCountReturns the number of displayed shell items accessible through the Folders property.FoldersProvides indexed access to displayed shell items.GroupIndexAllows you to associate the Shell Tree View control with other shell controls.OnAddFolderAllows you to prevent certain shell items from appearing in the Shell Tree View control when it expands a node.PathAllows you to navigate to any accessible shell folder.ShellOptionsProvides access to shell-related behavior settings.ShellRootAllows you to configure shell root settings.UpdateContentReloads displayed Windows Shell content.

General-Purpose API Members

AssignCopies settings between Shell Tree View controls.BeginUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch state and setting changes and improve application performance.BeginSelect | EndSelectAllow you to avoid excessive redraw operations during batch node selection changes and improve application performance. These procedures complement BeginUpdate and EndUpdate.FullRefreshRedraws the Shell Tree View control.

Shell Control Synchronization

You can associate the Shell Tree View control with the following shell controls to synchronize displayed content:

TcxShellComboBoxA Shell Combo Box editor.TdxShellBreadcrumbEditA Shell Breadcrumb control.TdxShellListViewA Shell List View control.

Inheritance

Show 11 items

TObject TPersistent TComponent TControl TWinControl TCustomControl TcxCustomControl TcxControl TdxCustomTreeView TdxCustomShellTreeView TdxShellTreeView

See Also

TdxOpenFileDialog Class

TdxOpenPictureDialog Class

TdxSaveFileDialog Class

TdxSavePictureDialog Class

TdxShellTreeView Members

dxShellControls Unit