2.3.2.3.12 CT_Border

Target namespace: http://schemas.microsoft.com/client/2009/11

Referenced by: CT_Grid, CT_AccNavigationControl, Border

A Border element as specified by [MS-WPFXV] section 1.48.95.2.1.5.2. This element represents one or more cells that can contain a control. This element MUST contain either zero child elements or exactly one child element, which specifies the control. When this element contains zero child elements, it represents an empty cell.

Child Elements:

a:Attachment : A CT_AccAttachment that specifies an Attachment element.

a:Button : A CT_AccButton that specifies a Button element.

a:CheckBox : A CT_AccCheckBox that specifies a CheckBox element.

a:ComboBox : A CT_AccComboBox that specifies a ComboBox element.

a:Image : A CT_AccImage that specifies an Image element.

a:Label : A CT_AccLabel that specifies a Label element.

a:ListBox : A CT_AccListBox that specifies a ListBox element.

a:NavigationButton : A CT_AccNavigationButton that specifies a NavigationButton element.

a:NavigationControl : A CT_AccNavigationControl that specifies a NavigationControl element.

a:SubForm : A CT_AccSubForm that specifies a SubForm element.

a:TabControl : A CT_AccTabControl that specifies a TabControl element.

a:TextBox : A CT_AccTextBox that specifies a TextBox element.

a:WebBrowser : A CT_AccWebBrowser that specifies a WebBrowser element.

Attributes:

ControlHeight : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) that specifies the ControlHeight attribute.

ControlWidth : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) that specifies the ControlWidth attribute.

Grid.Column : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the column in which the child control or empty cell appears within the layout.

Grid.ColumnSpan : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the total number of columns the child control or empty cell spans within the layout.

Grid.Row : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the row in which the child control or empty cell appears within the layout.

Grid.RowSpan : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the total number of rows the child control or empty cell spans within the layout.

MinHeight : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) that specifies the MinHeight attribute.

MinWidth : An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) that specifies the MinWidth attribute.

Style : An ST_ReferenceType that specifies the Style attribute.

Tag : An Ignored Value.

x:Name :  A string ([XMLSCHEMA2/2] section 3.2.1) that specifies the Name attribute.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="CT_Border">
   <xs:choice minOccurs="0">
     <xs:element ref="a:TextBox"/>
     <xs:element ref="a:Button"/>
     <xs:element ref="a:ComboBox"/>
     <xs:element ref="a:CheckBox"/>
     <xs:element ref="a:ListBox"/>
     <xs:element ref="a:Label"/>
     <xs:element ref="a:Attachment"/>
     <xs:element ref="a:Image"/>
     <xs:element ref="a:SubForm"/>
     <xs:element ref="a:NavigationControl"/>
     <xs:element ref="a:NavigationButton"/>
     <xs:element ref="a:TabControl"/>
     <xs:element ref="a:WebBrowser"/>
   </xs:choice>
   <xs:attribute name="Style" type="ST_ReferenceType" use="optional" wbld:cname="Style"/>
   <xs:attribute name="Grid.Column" type="xs:unsignedInt" use="optional" wbld:cname="Grid_Column"/>
   <xs:attribute name="Grid.ColumnSpan" type="xs:unsignedInt" wbld:cname="Grid_ColumnSpan" use="optional"/>
   <xs:attribute name="Grid.Row" type="xs:unsignedInt" use="optional" wbld:cname="Grid_Row"/>
   <xs:attribute name="Grid.RowSpan" type="xs:unsignedInt" wbld:cname="Grid_RowSpan" use="optional"/>
   <xs:attribute name="MinWidth" type="xs:unsignedInt" wbld:cname="MinWidth" use="optional"/>
   <xs:attribute name="MinHeight" type="xs:unsignedInt" wbld:cname="MinHeight" use="optional"/>
   <xs:attribute name="ControlHeight" type="xs:unsignedInt" wbld:cname="ControlHeight" use="optional"/>
   <xs:attribute name="ControlWidth" type="xs:unsignedInt" wbld:cname="ControlWidth" use="optional"/>
   <xs:attribute ref="x:Name" use="optional"/>
   <xs:attribute name="Tag" type="xs:string" wbld:cname="Tag" use="optional"/>
 </xs:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).