Class RowFormat
Represents the RowFormat class.
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public sealed class RowFormat : BaseNode
Constructors
RowFormat()
Initializes a new instance of the RowFormat class.
Declaration
public RowFormat()
RowFormat(BaseNode)
Declaration
public RowFormat(BaseNode baseNode)
Parameters
Type | Name | Description |
---|---|---|
BaseNode | baseNode | The owner of the RowFormat. The value can be null or an instance of TableRowAdv. |
Fields
AllowBreakAcrossPagesProperty
Identifies the AllowBreakAcrossPages dependency property.
Declaration
public static readonly DependencyProperty AllowBreakAcrossPagesProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the AllowBreakAcrossPages dependency property. |
HeightProperty
Identifies the Height dependency property.
Declaration
public static readonly DependencyProperty HeightProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the Height dependency property. |
HeightTypeProperty
Identifies the HeightType dependency property.
Declaration
public static readonly DependencyProperty HeightTypeProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the HeightType dependency property. |
IsHeaderProperty
Identifies the AllowBreakAcrossPages dependency property.
Declaration
public static readonly DependencyProperty IsHeaderProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the AllowBreakAcrossPages dependency property. |
Properties
AllowBreakAcrossPages
Determines whether the TableRowAdv is allowed to break across pages.
Declaration
public bool AllowBreakAcrossPages { get; set; }
Property Value
Type |
---|
System.Boolean |
Examples
The following code example demonstrates whether the table row is allowed to break across pages.
<!-- Defines the table row with break across pages. -->
<RichTextBoxAdv:TableRowAdv>
<RichTextBoxAdv:TableRowAdv.RowFormat>
<RichTextBoxAdv:RowFormat AllowBreakAcrossPages = "true"/>
</RichTextBoxAdv:TableRowAdv.RowFormat>
<!-- Define the table row with break across pages. -->
</RichTextBoxAdv:TableRowAdv>
// Defines the table row with break across pages.
TableRowAdv tableRow = new TableRowAdv();
RowFormat rowFormat = new RowFormat();
rowFormat.AllowBreakAcrossPages = true;
tableRow.RowFormat = rowFormat;
// Define the table row with break across pages.
' Defines the table row with break across pages.
Dim tableRow As New TableRowAdv()
Dim rowFormat As New RowFormat()
rowFormat.AllowBreakAcrossPages = True
tableRow.RowFormat = rowFormat
' Define the table row with break across pages.
Height
Gets or sets the height of the TableRowAdv.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height for the TableRowAdv. |
Examples
The following code example demonstrates how to define height for the table row.
<!-- Defines the height of the table row. -->
<RichTextBoxAdv:TableRowAdv>
<RichTextBoxAdv:TableRowAdv.RowFormat>
<RichTextBoxAdv:RowFormat HeightType = "Atleast" Height = "12"/>
</RichTextBoxAdv:TableRowAdv.RowFormat>
<!-- Define the height of the table row. -->
</RichTextBoxAdv:TableRowAdv>
// Defines the height of the table row.
TableRowAdv tableRow = new TableRowAdv();
RowFormat rowFormat = new RowFormat();
rowFormat.HeightType = HeightType.Atleast;
rowFormat.Height = 12;
tableRow.RowFormat = rowFormat;
// Define the height of the table row.
' Defines the height of the table row.
Dim tableRow As New TableRowAdv()
Dim rowFormat As New RowFormat()
rowFormat.HeightType = HeightType.Atleast
rowFormat.Height = 12
tableRow.RowFormat = rowFormat
' Define the height of the table row.
HeightType
Gets or sets the HeightType of the TableRowAdv.
Declaration
public HeightType HeightType { get; set; }
Property Value
Type | Description |
---|---|
HeightType | The height type for the TableRowAdv. |
Examples
The following code example demonstrates how to define height type for the table row.
<!-- Defines the height type of the table row. -->
<RichTextBoxAdv:TableRowAdv>
<RichTextBoxAdv:TableRowAdv.RowFormat>
<RichTextBoxAdv:RowFormat HeightType = "Atleast" Height = "20"/>
</RichTextBoxAdv:TableRowAdv.RowFormat>
<!-- Define the height type of the table row. -->
</RichTextBoxAdv:TableRowAdv>
// Defines the height type of the table row.
TableRowAdv tableRow = new TableRowAdv();
RowFormat rowFormat = new RowFormat();
rowFormat.HeightType = HeightType.Atleast;
rowFormat.Height = 20;
tableRow.RowFormat = rowFormat;
// Define the height type of the table row.
' Defines the height type of the table row.
Dim tableRow As New TableRowAdv()
Dim rowFormat As New RowFormat()
rowFormat.HeightType = HeightType.Atleast;
rowFormat.Height = 20
tableRow.RowFormat = rowFormat
' Define the height type of the table row.
IsHeader
Determines whether the TableRowAdv is header row or not.
Declaration
public bool IsHeader { get; set; }
Property Value
Type |
---|
System.Boolean |
Examples
The following code example demonstrates whether the table row is header row or not.
<!-- Defines whether the table row is header row or not. -->
<RichTextBoxAdv:TableRowAdv>
<RichTextBoxAdv:TableRowAdv.RowFormat>
<RichTextBoxAdv:RowFormat IsHeader = "true"/>
</RichTextBoxAdv:TableRowAdv.RowFormat>
<!-- Define whether the table row is header row or not. -->
</RichTextBoxAdv:TableRowAdv>
// Defines whether the table row is header row or not.
TableRowAdv tableRow = new TableRowAdv();
RowFormat rowFormat = new RowFormat();
rowFormat.IsHeader = true;
tableRow.RowFormat = rowFormat;
// Define whether the table row is header row or not.
' Defines whether the table row is header row or not.
Dim tableRow As New TableRowAdv()
Dim rowFormat As New RowFormat()
rowFormat.IsHeader = True
tableRow.RowFormat = rowFormat
' Define whether the table row is header row or not.