Search
TableNode.Cell Class
Remarks See Also
 





Represents a cell in a TableNode instance.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public class TableNode.Cell : TextPresenter, InplaceEditable

Visual Basic  Copy Code

Public Class TableNode.Cell
    Inherits TextPresenter
    Implements InplaceEditable

 Remarks

Cells are the building blocks of tables. They get their height and width indirectly, from the width of table columns and the height of table rows as set by the ColumnWidth and RowHeight properties. Cells can be made to span several rows and columns by setting their RowSpan and ColumnSpan properties to values larger than 1.

Cells can hold text, which is set by their Text property. The text can be aligned and this is set by the TextFormat property. Color of the text in the cells is set with the TextBrush property. Many other aspects of text rendering can be customized through the properties defined in the ITextAttributes interface, implemented by the Cell class. By default they derive their values from the table's CellTextStyle.

Appearance of a cell can be customized further by the Brush and Image properties.

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        MindFusion.Diagramming.Wpf.TextPresenter
                            MindFusion.Diagramming.Wpf.TableNode.Cell

 See Also