Edit

Share via


ConditionalStyle Interface

Definition

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

public interface class ConditionalStyle
[System.Runtime.InteropServices.Guid("1498F56D-ED33-41F9-B37B-EF30E50B08AC")]
public interface ConditionalStyle
type ConditionalStyle = interface
Public Interface ConditionalStyle
Attributes

Remarks

Use the Condition(WdConditionCode) method of the TableStyle object to return a ConditionalStyle object. The Shading property can be used to apply shading to specified areas of a table.

Use the Borders property to apply borders to specified areas of a table.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

BottomPadding

Returns or sets the amount of space (in points) to add below the contents of a single cell or all the cells in a table.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Font

Returns or sets a Font object that represents the character formatting of the specified object.

LeftPadding

Returns or sets the amount of space (in points) to add to the left of the contents of a single cell or all the cells in a table.

ParagraphFormat

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified style.

Parent

Returns an object that represents the parent object of the specified object.

RightPadding

Returns or sets the amount of space (in points) to add to the right of the contents of a single cell or all the cells in a table.

Shading

Returns a Shading object that refers to the shading formatting for the specified object.

TopPadding

Returns or sets the amount of space (in points) to add above the contents of a single cell or all the cells in a table.

Applies to