i’ve collected a few basic questions for using the
How can i control to which column the litle black triangle is assigned to collapse / expand a
TreeGridItem ? For example, Rhino’s built in Layer dialog always shows that triangle in the “Name” column, even when a column (here the current layer indicator hook) is displayed in a column before the “Name” column:
If i try to build my
TreeGridView with the same column order and layer structure as shown above, the triangle is always assigned to the first column and therefore i cannot see any indentation in the “Name” column:
I’ve tried to add and swap columns after loading but this did not work. However if i make the “Name” column the first column, i can manually move the “hook” column and the “Name” column stays the one which is expandable / collapsable.
How do i assign custom text colors to individual
TreeGridView items / or cells ? I’ve created (custom) items of type
TreeGridItem and the “Name” column uses an
ImageTextCell with bindings for the text and image. For some of these cells, i would like to use a different text color. I’ve tried to access the color by doing this:
cell = Eto.Forms.ImageTextCell() cell.ControlObject.Foreground.Color = Eto.Drawing.Colors.Red
but i get an error:
Expected Color, got Color
How to select items / rows in the
TreeGridView programmatically and how can i flag individual items / rows as not beeing selectable by the user ?