[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ConditionalStyle

Class ConditionalStyle

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents special formatting applied to specified areas of a table when the selected table is formatted with a specified table style.

public class ConditionalStyle : TableStyleBase
Inheritance
object
ConditionalStyle
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

BaseKey

Gets the base (this class) key for formatting properties.

protected override string BaseKey { get; }

Property Value

string

Borders

Gets the cell borders formatting.

public CellBorderCollection Borders { get; }

Property Value

CellBorderCollection

Font

Gets the character formatting of the style.

public Font Font { get; }

Property Value

Font

Padding

Gets the default paddings for all cells in the current table.

public CellPadding Padding { get; }

Property Value

CellPadding

ParagraphFormat

Gets the paragraph formatting of the style.

public ParagraphFormat ParagraphFormat { get; }

Property Value

ParagraphFormat

Shading

Gets the shading that shall be applied to the extents of a table. Similarly to paragraph shading, this shading shall be applied to the contents of the tab up to the table borders, regardless of the presence of text - unlike cell shading, table shading shall include any cell padding. This property shall be superseded by any cell-level shading.

public Shading Shading { get; }

Property Value

Shading

Type

Gets the type of conditional style (portion of table formatting to override).

public TableStyleOverride Type { get; }

Property Value

TableStyleOverride

Methods

ClearFormatting()

Resets to default conditional table style formatting.

public override void ClearFormatting()