Gets or sets how many columns the cell should span.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public int ColumnSpan { get; set; } |
Visual Basic Copy Code |
---|
Public Property ColumnSpan As Integer |
A positive integer value specifying how many columns the cell spans to the right. The default is 1.
Use this property and RowSpan to define a cell that overlaps several columns and rows of the table's grid. The spanning cell covers any non-spanning cells to the right or below it, as far as the spanned columns and rows go. The Image and Text of spanning cells are aligned and laid out inside the enlarged bounding rectangles of the cells. That allows composing nodes with a very elaborate structure using spanning cells, as alternative to attaching ShapeNode objects to a container/master node.
WpfDiagram Programmer's Guide | © 2024 MindFusion |