Skip to main content

TcxSchedulerTimeGridViewTreeBrowser.InnerControl Property

Provides access to the tree list control that resides in the Tree Browser pane and customize tree list properties.

Declaration

property InnerControl: TcxControl read;

Property Value

Type
TcxControl

Remarks

Cast the property value to the TcxVirtualTreeList class to access its members, as shown below.

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