TreeView.RowGUIArgs.GetCellRect

声明

public Rect GetCellRect(int visibleColumnIndex);

参数

visibleColumnIndex 多分栏标题中可见栏目的列表的索引。

返回值

矩形单元格矩形,由行矩形和可见栏目矩形的交集限定。

描述

如果对 TreeView 使用 MultiColumnHeader,则可使用此方法通过 MultiColumnHeader 的可见栏目获取行的单元格矩形。

请注意,返回的单元格矩形受TreeView.cellMargin 值影响。

其他资源:MultiColumnHeaderTreeView.RowGUITreeView.RowGUIArgs.GetNumVisibleColumnsTreeView.RowGUIArgs.GetColumn


Did you find this page useful? Please give it a rating: