Border Properties

Include Protected Members
Include Inherited Members

The Border type exposes the following members.

Properties

  Name Description
Public property BottomBorder Bottom Border.Represents the element tag in schema: x:bottom
Public property ChildElements Gets all the child nodes of this element. (Inherited from OpenXmlElement.)
Public property DiagonalBorder Diagonal.Represents the element tag in schema: x:diagonal
Public property DiagonalDown Diagonal Down.Represents the attribte in schema: diagonalDown
Public property DiagonalUp Diagonal Up.Represents the attribte in schema: diagonalUp
Public property EndBorder EndBorder, this property is only available in Office2010.Represents the element tag in schema: x:end
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.)
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.)
Public property HasChildren Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlCompositeElement.)
Public property HorizontalBorder Horizontal Inner Borders.Represents the element tag in schema: x:horizontal
Public property InnerText Gets or sets the concatenated values of the node and all its children. (Inherited from OpenXmlCompositeElement.)
Public property InnerXml Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlCompositeElement.)
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property LeftBorder Left Border.Represents the element tag in schema: x:left
Public property LocalName Gets the local name of the element. (Overrides OpenXmlElement.LocalName.)
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.)
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.)
Public property NamespaceUri Gets the namespace URI of this node. (Inherited from OpenXmlElement.)
Public property OpenXmlElementContext Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.)
Public property OuterXml Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.)
Public property Outline Outline.Represents the attribte in schema: outline
Public property Parent Gets the parent of this element. (Inherited from OpenXmlElement.)
Public property Prefix Gets the namespace prefix of this node. (Inherited from OpenXmlElement.)
Public property RightBorder Right Border.Represents the element tag in schema: x:right
Public property StartBorder StartBorder, this property is only available in Office2010.Represents the element tag in schema: x:start
Public property TopBorder Top Border.Represents the element tag in schema: x:top
Public property VerticalBorder Vertical Inner Border.Represents the element tag in schema: x:vertical
Public property XmlQualifiedName Gets the qualified name of the node. (Inherited from OpenXmlElement.)

Top

See Also

Reference

Border Class

DocumentFormat.OpenXml.Spreadsheet Namespace