2.1.16 TBaseProperty

The TBaseProperty complex type is an extension of the TMember type (section 2.1.11) that adds attributes that appear only in columns and measures.

The TBaseProperty complex type is defined in the schema as follows.

  <xs:complexType name="TBaseProperty" abstract="true">
   <xs:complexContent>
    <xs:extension base="bi:TMember">
     <xs:attribute name="Alignment" type="bi:TAlignment" use="optional"/>
     <xs:attribute name="FormatString" type="xs:string" use="optional"/>
     <xs:attribute name="Units" type="xs:string" use="optional" />
     <xs:attribute name="SortDirection" type="bi:TSortDirection"
              default="Default"/>
     <xs:attribute name="IsRightToLeft" type="xs:boolean" default="false"/>
    </xs:extension>
   </xs:complexContent>
  </xs:complexType>

The attributes that are defined by the TBaseProperty complex type are specified in the following table.

Attribute

Description

Alignment

A value that indicates how the field values are to be aligned in a tabular presentation. If this attribute is omitted, the default determines the alignment based on the field's data type. The contents of this attribute are defined by the TAlignment simple type (section 2.1.16.1).

FormatString

A format string that defines the default client formatting for date and time values. If this attribute is omitted, the following format string values are assumed:

  • Integer fields: "g"

  • Decimal data type fields: "#,0.00"

  • Double data type fields: "#,0.00"

  • Date and time fields: "d"

For all other kinds of fields, no format string applies.

Units

The symbol that is applied to field values to express units. If this attribute is omitted, the units are assumed to be unknown.

SortDirection

A value that indicates how the field values are typically sorted. If this attribute is omitted, the default value assigns a sort direction based on the field's data type. The contents of this attribute are defined by the TSortDirection simple type (section 2.1.16.2).

IsRightToLeft

A Boolean value that indicates whether the field contains text that can be read from right to left. If this attribute is omitted, the model setting is assumed.

Show: