Back to Devexpress

TcxSchedulerTimeGridViewTreeBrowser.InnerControl Property

vcl-cxschedulertimegridview-dot-tcxschedulertimegridviewtreebrowser-6cc1d2ba.md

latest1.2 KB
Original Source

TcxSchedulerTimeGridViewTreeBrowser.InnerControl Property

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
TcxControl

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

TcxSchedulerTimeGridViewTreeBrowser Class

TcxSchedulerTimeGridViewTreeBrowser Members

cxSchedulerTimeGridView Unit