Returns the owning item of the cell.
Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public new ItemClass OwningItem { get; }
Public Shadows ReadOnly Property OwningItem As ItemClassThe owning item.
Returns the owning item of the cell.
Cells are not standalone objects, they are always owned by a containing item and a control.
InfoTip.Add(CenterOf(r), "Vertical cell merging to visually combine similar data", ArrowLocationEnum.LeftTop);
r = sftTree1.GetDimension(sftTree1.ItemCollection[0].Cells[2]);
InfoTip.Add(CenterOf(r), "Horizontal cell merging to visually combine similar data");
r = sftTree1.GetDimension(sftTree1.ItemCollection[0].Children[0].Children[1].Cells[2]);
InfoTip.Add(6, CenterOf(r), "", "Vertical cell merging to visually combine similar data\nOf course, all parts and color definitions are also applied when cells are merged", ArrowLocationEnum.LeftTop, null, null);
r = sftTree1.GetDimension(sftTree1.Headers[1, 0]);
InfoTip.Add(CenterOf(r), "All parts (like dropdown buttons) are also available in headers", ArrowLocationEnum.TopLeft);
r = sftTree1.GetDimension(sftTree1.Footers[0, 0].OwningItem.RowHeader);
InfoTip.Add(CenterOf(r), "Parts (like checkboxes) are even available in footers");
r = sftTree1.GetDimension(sftTree1.Headers[1, 3]);
InfoTip.Add(CenterOf(r), "Sorting data is easily accomplished (even multi-column sorting)");
r = sftTree1.GetDimension(sftTree1.Headers[1, 2]);
InfoTip.Add(CenterOf(r), "Columns can be reordered and resized");
InfoTip.Add(CenterOf(r), "Vertical cell merging to visually combine similar data", ArrowLocationEnum.LeftTop)
r = sftTree1.GetDimension(sftTree1.ItemCollection(0).Cells(2))
InfoTip.Add(CenterOf(r), "Horizontal cell merging to visually combine similar data")
r = sftTree1.GetDimension(sftTree1.ItemCollection(0).Children(0).Children(1).Cells(2))
InfoTip.Add(6, CenterOf(r), "", "Vertical cell merging to visually combine similar data" + vbCrLf + "Of course, all parts and color definitions are also applied when cells are merged", ArrowLocationEnum.LeftTop, Nothing, Nothing)
r = sftTree1.GetDimension(sftTree1.Headers(1, 0))
InfoTip.Add(CenterOf(r), "All parts (like dropdown buttons) are also available in headers", ArrowLocationEnum.TopLeft)
r = sftTree1.GetDimension(sftTree1.Footers(0, 0).OwningItem.RowHeader)
InfoTip.Add(CenterOf(r), "Parts (like checkboxes) are even available in footers")
r = sftTree1.GetDimension(sftTree1.Headers(1, 3))
InfoTip.Add(CenterOf(r), "Sorting data is easily accomplished (even multi-column sorting)")
r = sftTree1.GetDimension(sftTree1.Headers(1, 2))
InfoTip.Add(CenterOf(r), "Columns can be reordered and resized")
See Also CellClass Class | Classes | SftTree/NET 3.0