ODF .NET Class Library
Show/Hide TOC

# DefaultTableStyle Class

Represents default styles of the table style.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class DefaultTableStyle : DefaultStyle

VB

    Public Class DefaultTableStyle
    	Inherits DefaultStyle

Inheritance
  Object DefaultStyle DefaultTableStyle

## Constructors

DefaultTableStyle | Initializes a new instance of the DefaultTableStyle class.

## Properties

Alignment | Specifies the horizontal alignment of a table.
BackgroundColor | Specifies the background color for table.
BorderModel | Specifies what border model to use when creating a table with a border.
BottomMargin | Specifies the bottom margin for table.
BreakAfter | Specifies the break after.
BreakBefore | Specifies the break before.
Display | Specifies whether a table is displayed.
EnableBreakBetweenRows | Specifies that a page break may occur inside a table.
Family | Contains the style family. (Inherited from DefaultStyle)
KeepTogether |
LeftMargin | Specifies the left margin for table.
Margin | Specifies the margin for table.
PageNumber | Specifies the page number that should be used for a new page when either a paragraph or table style specifies a master page that should be applied beginning from the start of a paragraph or table.
RelativeWidth | Specifies the width of a table relative to the width of the area that the table is in.
RightMargin | Specifies the right margin for table.
Shadow | Specifies the shadow effect.
TopMargin | Specifies the top margin for table.
Width | Specifies the fixed width of a table.
WritingMode | Specifies the writing mode of the table.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current DefaultTableStyle object to its equivalent string representation. (Overrides DefaultStyleToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace