Defines the width of the row header area.
Class: RowHeadersClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public int Width { get; set; }
Public Property Width As IntegerThe width in pixels or 0 to hide the row header area.
The default value is 50.
Defines the width of the row header area.
The RowHeadersClass.GetOptimalWidth or RowHeadersClass.MakeOptimal methods can be used to calculate or define the optimal width for the row headers. An optimal width allows all cell contents in the row headers to be displayed in their entirety, without being clipped.
InfoTip.Add(5, new Point(xcenter / 2, ybottom / 4), "", "From simple tree control...", ArrowLocationEnum.TopLeft, SimpleTree, null);
InfoTip.Add(5, new Point(xcenter / 2, ybottom / 4), "", "...back to a grid-like hierarchical tree control", ArrowLocationEnum.TopLeft, ComplexTree, null);
InfoTip.Add(new Point(xcenter, 0 + sftTree1.Headers.Height / 2), "Optional headers with one or multiple rows");
InfoTip.Add(new Point(xcenter, ybottom - sftTree1.Footers.Height / 2), "Optional footers with one or multiple rows");
r = sftTree1.GetDimension(sftTree1.ItemCollection[0].Children[0].Children[5].RowHeader);
InfoTip.Add(new Point(0 + sftTree1.RowHeaders.Width / 2, r.Y), "", "Optional row headers for items, headers and footers", ArrowLocationEnum.LeftTop, null, RowHeadersOff);
InfoTip.Add(new Point(0 + sftTree1.RowHeaders.Width / 2, r.Y), "", "Without row headers", ArrowLocationEnum.LeftTop, null, RowHeadersOn);
Point pt = new Point(sftTree1.Splitter.Area.Location.X + sftTree1.Splitter.Area.Width / 2, ybottom / 2);
InfoTip.Add(pt, "Optional splitter bar", ArrowLocationEnum.TopLeft);
InfoTip.Add(pt, "", "Without splitter bar", ArrowLocationEnum.TopLeft, SplitterOff, SplitterOn);
r = sftTree1.GetDimension(sftTree1.ItemCollection[0].Children[0].Children[0].Cells[1]);
InfoTip.Add(CenterOf(r), "Cells can display one or multiple images (and other parts)", ArrowLocationEnum.LeftTop);
InfoTip.Add(5, New Point(xcenter / 2, ybottom / 4), "", "From simple tree control...", ArrowLocationEnum.TopLeft, AddressOf SimpleTree, Nothing)
InfoTip.Add(5, New Point(xcenter / 2, ybottom / 4), "", "...back to a grid-like hierarchical tree control", ArrowLocationEnum.TopLeft, AddressOf ComplexTree, Nothing)
InfoTip.Add(New Point(xcenter, 0 + sftTree1.Headers.Height / 2), "Optional headers with one or multiple rows")
InfoTip.Add(New Point(xcenter, ybottom - sftTree1.Footers.Height / 2), "Optional footers with one or multiple rows")
r = sftTree1.GetDimension(sftTree1.ItemCollection(0).Children(0).Children(5).RowHeader)
InfoTip.Add(New Point(0 + sftTree1.RowHeaders.Width / 2, r.Y), "", "Optional row headers for items, headers and footers", ArrowLocationEnum.LeftTop, Nothing, AddressOf RowHeadersOff)
InfoTip.Add(New Point(0 + sftTree1.RowHeaders.Width / 2, r.Y), "", "Without row headers", ArrowLocationEnum.LeftTop, Nothing, AddressOf RowHeadersOn)
Dim pt As New Point(sftTree1.Splitter.Area.Location.X + sftTree1.Splitter.Area.Width / 2, ybottom / 2)
InfoTip.Add(pt, "Optional splitter bar", ArrowLocationEnum.TopLeft)
InfoTip.Add(pt, "", "Without splitter bar", ArrowLocationEnum.TopLeft, AddressOf SplitterOff, AddressOf SplitterOn)
r = sftTree1.GetDimension(sftTree1.ItemCollection(0).Children(0).Children(0).Cells(1))
InfoTip.Add(CenterOf(r), "Cells can display one or multiple images (and other parts)", ArrowLocationEnum.LeftTop)See Also RowHeadersClass Class | Classes | SftTree/NET 3.0