TcxSchedulerTimeGridViewTreeBrowser.InnerControl Property
In This Article
Provides access to the tree list control that resides in the Tree Browser pane and customize tree list properties.
#Declaration
Delphi
property InnerControl: TcxControl read;
#Property Value
Type |
---|
Tcx |
#Remarks
Cast the property value to the TcxVirtualTreeList class to access its members, as shown below.
Delphi
var
ATreeList: TcxVirtualTreeList;
ATreeList := TcxVirtualTreeList(<Scheduler>.ViewGantt.TreeBrowser.InnerControl);
// Prohibits tree list columns from being moved
ATreeList.OptionsCustomizing.ColumnMoving := False;
Use the pane’s Width property in order to adjust the tree list’s width without having to access tree list properties via the InnerControl property.
See Also