編輯

共用方式為


TableStyleElements Interface

Definition

Represents table style elements.

public interface class TableStyleElements : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244A6-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface TableStyleElements : System.Collections.IEnumerable
Public Interface TableStyleElements
Implements IEnumerable
Attributes
Implements

Remarks

Table styles define formatting for one or all of the elements of a table or PivotTable. For example, a header row, last column, or total row are elements of a table and a table style can define that the fill color of the header row is blue, the last column is red.

A table style element in a table can have formatting specified in a table style applied to the element. XlTableStyleElementType enumeration contains the types of table style element that are available for use.

Properties

_Default[XlTableStyleElementType]

Reserved for internal use.

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Office Excel application. When used with an object qualifier, this property returns an _Application object that represents the creator of the specified object. Read-only.

Count

Returns the number of objects in the collection. Read-only.

Creator

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

Parent

Returns the parent object for the specified object. Read-only.

Methods

GetEnumerator()
Item(XlTableStyleElementType)

Returns a single object from a collection.

Applies to