共用方式為


EndBorder Class

Defines the EndBorder Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x:end.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.BorderPropertiesType
        DocumentFormat.OpenXml.Spreadsheet.EndBorder

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class EndBorder _
    Inherits BorderPropertiesType
'Usage
Dim instance As EndBorder
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class EndBorder : BorderPropertiesType

Remarks

The following table lists the possible child types:

  • Color <x:color>

[ISO/IEC 29500-1 1st Edition]

18.8.16 end (Trailing Edge Border)

This element specifies the color and line style for the trailing edge border of a cell (i.e., the right border for left-to-right cells and the left border for right-to-left cells)..

Parent Elements

border (§18.8.4)

Child Elements

Subclause

color (Data Bar Color)

§18.3.1.15

Attributes

Description

style (Line Style)

The line style for this border.

The possible values for this attribute are defined by the ST_BorderStyle simple type (§18.18.3).

[Note: The W3C XML Schema definition of this element’s content model (CT_BorderPr) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EndBorder Members

DocumentFormat.OpenXml.Spreadsheet Namespace