Skip to main content

TcxCustomShellTreeView.OnAddFolder Event

Allows you to prevent certain shell items from appearing in the Shell Tree View control.

Declaration

property OnAddFolder: TcxShellAddFolderEvent read; write;

Remarks

The OnAddFolder event occurs every time a shell item is about to be added into the Shell Tree View control. You can handle this event to prevent the control from displaying certain shell items when it displays a folder.

Refer to the TcxShellAddFolderEvent procedural type description for information on parameters available within an OnAddFolder event handler.

Note

To improve shell navigation consistency, share the same OnAddFolder event handler between all associated DevExpress shell controls.

See Also