New to Telerik UI for WinForms? Start a free 30-day trial

Controls which special-row, special-column, and banded formatting options from a table style are applied.

Changing any option raises TableLookChanged; assigning its current value does not.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class TableLook

Inheritance: objectTableLook

Constructors

Initializes table-look options with first-row, first-column, and row-banding formatting enabled.

C#
public TableLook()

Initializes table-look options by copying the six formatting flags from another instance.

C#
public TableLook(TableLook originalTableLook)
Parameters:originalTableLookTableLook

The table-look options to copy.

Properties

Gets or sets whether table-style column banding is applied when banding is defined.

C#
[XamlSerializable(false)]
public bool ApplyColumnBanding { get; set; }

Gets or sets whether table-style conditional formatting is applied to the first column.

C#
[XamlSerializable(true)]
public bool ApplyFirstColumn { get; set; }

Gets or sets whether table-style conditional formatting is applied to the first row.

C#
[XamlSerializable(true)]
public bool ApplyFirstRow { get; set; }

Gets or sets whether table-style conditional formatting is applied to the last column.

C#
[XamlSerializable(false)]
public bool ApplyLastColumn { get; set; }

Gets or sets whether table-style conditional formatting is applied to the last row.

C#
[XamlSerializable(false)]
public bool ApplyLastRow { get; set; }

Gets or sets whether table-style row banding is applied when banding is defined.

C#
[XamlSerializable(true)]
public bool ApplyRowBanding { get; set; }

Methods

Determines whether the specified object has the same six option values as this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare.

Returns:

bool

true when obj is a TableLook with matching options.

Overrides: object.Equals(object)

Returns a hash code derived from the six table-look option values.

C#
public override int GetHashCode()
Returns:

int

A hash code for this set of options.

Overrides: object.GetHashCode()

Events

Occurs when one of the table-look options changes.

C#
public event EventHandler TableLookChanged