5.2 http://schemas.microsoft.com/client/2009/11
-
<xs:schema id="WPFSubset" targetNamespace="http://schemas.microsoft.com/client/2009/11" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/client/2009/11" xmlns:a="http://schemas.microsoft.com/office/accessservices/2009/11/forms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:x="http://schemas.microsoft.com/winfx/2009/04/xaml" xmlns:wbld="http://schemas.microsoft.com/office/word/2004/5/build" wbld:hash="true" wbld:prefix="xaml" wbld:cname="XAML" xmlns:odoc="http://schemas.microsoft.com/internal/obd"> <xs:import namespace="http://schemas.microsoft.com/office/accessservices/2009/11/forms" schemaLocation="formxaml.xsd"/> <xs:import namespace="http://schemas.microsoft.com/winfx/2009/04/xaml" schemaLocation="xaml2006.xsd"/> <xs:complexType name="CT_StackPanelResource"> <xs:sequence> <xs:element name="Style" type="CT_Style" minOccurs="0" maxOccurs="unbounded" wbld:cname="Style"/> </xs:sequence> </xs:complexType> <xs:complexType name="CT_Style"> <xs:sequence> <xs:element name="Setter" type="CT_Setter" minOccurs="0" maxOccurs="unbounded" wbld:cname="Setter"/> </xs:sequence> <xs:attribute name="TargetType" type="xs:string" fixed="Border" wbld:cname="TargetType" use="optional"/> <xs:attribute ref="x:Key" use="optional"/> </xs:complexType> <xs:complexType name="CT_Setter"> <xs:attribute name="Property" type="ST_SetterProperty" wbld:cname="Property" use="optional"/> <xs:attribute name="Value" type="xs:string" wbld:cname="Value" use="optional"/> </xs:complexType> <xs:simpleType name="ST_SetterProperty"> <xs:restriction base="xs:string"> <xs:enumeration value="Control.FontFamily" wbld:cname="Control_FontFamily"/> <xs:enumeration value="Control.FontSize" wbld:cname="Control_FontSize"/> <xs:enumeration value="Control.FontStyle" wbld:cname="Control_FontStyle"/> <xs:enumeration value="Control.FontWeight" wbld:cname="Control_FontWeight"/> <xs:enumeration value="Control.Foreground" wbld:cname="Control_Foreground"/> <xs:enumeration value="Control.Background" wbld:cname="Control_Background"/> <xs:enumeration value="Control.TextDecorations" wbld:cname="Control_TextDecorations"/> <xs:enumeration value="Control.Padding" wbld:cname="Control_Padding"/> <xs:enumeration value="AccessControl.TextAlignment" wbld:cname="AccessControl_TextAlignment"/> <xs:enumeration value="AccessControl.LineHeight" wbld:cname="AccessControl_LineHeight"/> <xs:enumeration value="AccessControl.GridlineBorderBrush" wbld:cname="Control_BorderBrush"/> <xs:enumeration value="Control.BorderThickness" wbld:cname="Control_BorderThickness"/> <xs:enumeration value="AccessControl.BorderColor" wbld:cname="AccessControl_BorderColor"/> <xs:enumeration value="AccessControl.BackColor" wbld:cname="AccessControl_BackColor"/> <xs:enumeration value="AccessControl.BackShade" wbld:cname="AccessControl_BackgroundShade"/> <xs:enumeration value="AccessControl.BackTint" wbld:cname="AccessControl_BackgroundTint"/> <xs:enumeration value="AccessControl.BackThemeColorIndex" wbld:cname="AccessControl_BackThemeColorIndex"/> <xs:enumeration value="AccessControl.ForeShade" wbld:cname="AccessControl_ForegroundShade"/> <xs:enumeration value="AccessControl.ForeTint" wbld:cname="AccessControl_ForegroundTint"/> <xs:enumeration value="AccessControl.ForeThemeColorIndex" wbld:cname="AccessControl_ForeThemeColorIndex"/> <xs:enumeration value="AccessControl.BorderBrushShade" wbld:cname="AccessControl_BorderBrushShade"/> <xs:enumeration value="AccessControl.BorderTint" wbld:cname="AccessControl_BorderTint"/> <xs:enumeration value="AccessControl.BorderThemeColorIndex" wbld:cname="AccessControl_BorderThemeColorIndex"/> <xs:enumeration value="AccessControl.Bevel" wbld:cname="AccessControl_Bevel"/> <xs:enumeration value="AccessControl.UseTheme" wbld:cname="AccessControl_UseTheme"/> <xs:enumeration value="AccessControl.Glow" wbld:cname="AccessControl_Glow"/> <xs:enumeration value="AccessControl.Shape" wbld:cname="AccessControl_Shape"/> <xs:enumeration value="AccessControl.Shadow" wbld:cname="AccessControl_Shadow"/> <xs:enumeration value="AccessControl.SoftEdge" wbld:cname="AccessControl_SoftEdge"/> <xs:enumeration value="AccessControl.Gradient" wbld:cname="AccessControl_Gradient"/> <xs:enumeration value="AccessControl.Preset" wbld:cname="AccessControl_Preset"/> <xs:enumeration value="AccessControl.PresetMask" wbld:cname="AccessControl_PresetMask"/> <xs:enumeration value="AccessControl.WebImageTop" wbld:cname="AccessControl_WebImageTop"/> <xs:enumeration value="AccessControl.WebImageLeft" wbld:cname="AccessControl_WebImageLeft"/> <xs:enumeration value="AccessControl.WebImageWidth" wbld:cname="AccessControl_WebImageWidth"/> <xs:enumeration value="AccessControl.WebImageHeight" wbld:cname="AccessControl_WebImageHeight"/> <xs:enumeration value="AccessControl.EffectSize" wbld:cname="AccessControl_EffectSize"/> <xs:enumeration value="AccessControl.ThemeFontIndex" wbld:cname="AccessControl_ThemeFontIndex"/> <xs:enumeration value="AccessControl.BorderLineStyle" wbld:cname="AccessControl_BorderLineStyle"/> <xs:enumeration value="AccessControl.CharSet" wbld:cname="AccessControl_CharSet"/> </xs:restriction> </xs:simpleType> <xs:element name="Grid" type="CT_Grid" wbld:cname="Grid"/> <xs:complexType name="CT_StackPanelSection"> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="Grid"/> </xs:choice> </xs:sequence> </xs:complexType> <xs:complexType name="CT_Grid"> <xs:sequence> <xs:element name="Grid.ColumnDefinitions" type="CT_GridColumnDefinitions" wbld:cname="Grid_ColumnDefinitions"/> <xs:element name="Grid.RowDefinitions" type="CT_GridRowDefinitions" wbld:cname="Grid_RowDefinitions"/> <xs:element ref="Border" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute ref="a:LayoutGroup" use="required"/> </xs:complexType> <xs:complexType name="CT_GridColumnDefinitions"> <xs:sequence> <xs:element name="ColumnDefinition" type="CT_ColumnDefinition" minOccurs="0" maxOccurs="unbounded" wbld:cname="ColumnDefinition"/> </xs:sequence> </xs:complexType> <xs:complexType name="CT_ColumnDefinition"> <xs:attribute name="Width" type="xs:unsignedInt" use="optional" wbld:cname="Width"/> </xs:complexType> <xs:complexType name="CT_GridRowDefinitions"> <xs:sequence> <xs:element name="RowDefinition" type="CT_RowDefinition" minOccurs="0" maxOccurs="unbounded" wbld:cname="RowDefinition"/> </xs:sequence> </xs:complexType> <xs:complexType name="CT_RowDefinition"> <xs:attribute name="Height" type="xs:unsignedInt" use="optional" wbld:cname="Height"/> </xs:complexType> <xs:complexType name="CT_DataTemplateProperty"> <xs:all> <xs:element name="DataTemplate" type="CT_DataTemplate" wbld:cname="DataTemplate"/> </xs:all> </xs:complexType> <xs:complexType name="CT_DataTemplate"> <xs:sequence> <xs:element ref="a:Section"/> </xs:sequence> </xs:complexType> <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> <xs:element name="Border" wbld:cname="Border" type="CT_Border"/> <xs:simpleType name="ST_Color"> <xs:restriction base="xs:string"> <xs:pattern value="^#([a-f]|[A-F]|[0-9]){6}"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ST_ReferenceType"> <xs:restriction base="xs:string"> <xs:pattern value="\{StaticResource .*\}"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ST_FlowDirection"> <xs:restriction base="xs:string"> <xs:enumeration value="LeftToRight" wbld:cname="LeftToRight"/> <xs:enumeration value="RightToLeft" wbld:cname="RightToLeft"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ST_Visibility"> <xs:restriction base="xs:string"> <xs:enumeration value="Hidden" wbld:cname="Hidden"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ST_ScrollBarVisibility"> <xs:restriction base="xs:string"> <xs:enumeration value="Hidden" wbld:cname="Hidden"/> <xs:enumeration value="Visible" wbld:cname="Visible"/> <xs:enumeration value="Auto" wbld:cname="Auto"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ST_Cursor"> <xs:restriction base="xs:string"> <xs:enumeration value="Hand" wbld:cname="Hand"/> </xs:restriction> </xs:simpleType> </xs:schema>