Freigeben über


TableProperties.LastColumn Eigenschaft

Definition

Letzte Spalte

Stellt das folgende Attribut im Schema dar: lastCol

[DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")]
public DocumentFormat.OpenXml.BooleanValue LastColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue LastColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")]
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("lastCol")]
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")>]
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("lastCol")>]
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property LastColumn As BooleanValue

Eigenschaftswert

Gibt zurück BooleanValue.

Attribute

Hinweise

Die folgenden Informationen aus dem INTERNATIONALEN ECMA-Standard ECMA-376 können bei der Arbeit mit dieser Klasse nützlich sein.

Aktiviert oder deaktiviert die Formatierung der letzten Spalte für ein table style. Die Werte von onoder true1 aktivieren die letzte Spaltenformatierung, die in der Tabellenformatvorlage definiert ist. Das -Attribut wird standardmäßig auf verwendet off , wenn es nicht angegeben ist.

Betrachten Sie die folgende Ausführung:

<a:tblPr lastCol="1">  
  <a:tableStyleId>{5940675A-B579-460E-94D1-  
  54222C63F5DA}</a:tableStyleId>  
</a:tblPr>  

In diesem Beispiel sehen Wir, dass die letzte Spaltenformatierung für die Tabelle aktiviert ist. Bei Anwendung definiert das Format der verknüpften Tabelle die Formatierung für die letzte Spalte.

Die möglichen Werte für dieses Attribut werden durch den XML-Schemadatentyp boolean definiert.

Gilt für: