TemplateSelectionPageImplementation (ComponentImplementation)

Element properties:

TypeTemplateSelectionPage
PlatformWpf, Silverlight
Target
AccessibilityInternal

Source Code:

<ComponentImplementation ID="TemplateSelectionPageImplementation" TypeId="TemplateSelectionPage" Platform="Wpf, Silverlight" Accessibility="Internal">
<Composite>
<Variable Id="SelectedFolder" Type="BaseDataType"/>
<Variable Id="Root" Type="BaseDataType"/>
<Variable Id="TemplatesCollection" Type="BaseDataType[]"/>
<Variable Id="SelectedTemplateDisplayName" Type="BaseDataType"/>
<Variable Id="SelectedTemplate" Type="BaseDataType"/>
<Variable Id="Templates" Type="BaseDataType[]"/>
<Variable Id="SelectedTemplateObject" Type="BaseDataType"/>
<Variable Id="IsValid" Type="xsd://boolean">
<SimpleValue Type="xsd://string" Value="false"/>
</Variable>
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.WizardRegularPage">
<Binding PropertyId="StepId">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.TemplateSelectionPage.StepId/DisplayName$</Reference>
</Binding>
<Binding PropertyId="Title">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.TemplateSelectionPage.Title/DisplayName$</Reference>
</Binding>
<Binding PropertyId="IsValid">
<Reference>$Variable/IsValid$</Reference>
</Binding>
<Binding PropertyId="FinishButtonText">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.TemplateSelectionPage.FinishButtonText/DisplayName$</Reference>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.ComponentContainer">
<Binding PropertyId="Visual">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGrid">
<Binding PropertyId="RowCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridRow">
<Binding PropertyId="Height">
<SimpleValue Type="xsd://string" Value="*"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="ColumnCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridColumn">
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="1*"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="ColumnCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridColumn">
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="16"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="ColumnCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridColumn">
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="2*"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="0"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="0"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="Microsoft.SystemCenter.Visualization.TreeView" ReferenceName="TemplateSelectionPageTreeView">
<Binding PropertyId="SelectedItem">
<Reference>$Variable/SelectedFolder$</Reference>
</Binding>
<Binding PropertyId="TextPropertyName">
<SimpleValue Type="xsd://string" Value="DisplayName"/>
</Binding>
<Binding PropertyId="ChildrenPropertyName">
<SimpleValue Type="xsd://string" Value="Children"/>
</Binding>
<Binding PropertyId="Root">
<Reference>$Variable/Root$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="0"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.DataGrid" ReferenceName="TemplateSelectionDataGrid">
<Binding PropertyId="Data">
<Reference>$Variable/TemplatesCollection$</Reference>
</Binding>
<Binding PropertyId="AutoSelect">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="SelectionMode">
<SimpleValue Type="xsd://string" Value="SingleRowSelect"/>
</Binding>
<Binding PropertyId="SelectedRow">
<Reference>$Variable/SelectedTemplateObject$</Reference>
</Binding>
<Binding PropertyId="ColumnHeaderVisible">
<SimpleValue Type="xsd://string" Value="True"/>
</Binding>
<Binding PropertyId="CanReorderColumns">
<SimpleValue Type="xsd://string" Value="False"/>
</Binding>
<Binding PropertyId="Columns">
<ComplexValueCollection Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn[]">
<ComplexValue Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn">
<Binding PropertyId="PropertyName">
<SimpleValue Type="xsd://string" Value="DisplayName"/>
</Binding>
<Binding PropertyId="HeaderComponentType">
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridCell_Label"/>
</Binding>
<Binding PropertyId="HeaderDisplayObject">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.TemplateSelectionPage.TemplateColumn/DisplayName$</Reference>
</Binding>
<Binding PropertyId="CellComponentType">
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridCell_Label"/>
</Binding>
<Binding PropertyId="SortableGroupable">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="CanResize">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="Auto"/>
</Binding>
</ComplexValue>
<ComplexValue Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn">
<Binding PropertyId="PropertyName">
<SimpleValue Type="xsd://string" Value="FolderName"/>
</Binding>
<Binding PropertyId="HeaderComponentType">
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridCell_Label"/>
</Binding>
<Binding PropertyId="HeaderDisplayObject">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.TemplateSelectionPage.FolderColumn/DisplayName$</Reference>
</Binding>
<Binding PropertyId="CellComponentType">
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridCell_Label"/>
</Binding>
<Binding PropertyId="SortableGroupable">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="CanResize">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="Auto"/>
</Binding>
</ComplexValue>
</ComplexValueCollection>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="Microsoft.SystemCenter.Visualization.SyncObject">
<Binding PropertyId="Object1">
<Reference>$Variable/SelectedTemplateObject/Template$</Reference>
</Binding>
<Binding PropertyId="Object2">
<Reference>$Property/SelectedTemplate$</Reference>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="Microsoft.SystemCenter.Visualization.SyncObject">
<Binding PropertyId="Object1">
<Reference>$Variable/SelectedTemplateObject/DisplayName$</Reference>
</Binding>
<Binding PropertyId="Object2">
<Reference>$Property/SelectedTemplateDisplayName$</Reference>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="LoadTemplatesTreeQuery">
<Binding PropertyId="Templates">
<Reference>$Variable/TemplatesCollection$</Reference>
</Binding>
<Binding PropertyId="RootTemplateFolder">
<Reference>$Property/RootTemplateFolder$</Reference>
</Binding>
<Binding PropertyId="Root">
<Reference>$Variable/Root$</Reference>
</Binding>
<Binding PropertyId="SelectedFolder">
<Reference>$Variable/SelectedFolder$</Reference>
</Binding>
<Binding PropertyId="ParentFolderId">
<Reference>$Property/ParentFolderId$</Reference>
</Binding>
<Binding PropertyId="IsPersonal">
<Reference>$Property/IsPersonal$</Reference>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="Microsoft.SystemCenter.Visualization.NotNullValidator">
<Binding PropertyId="Item">
<Reference>$Property/SelectedTemplate$</Reference>
</Binding>
<Binding PropertyId="Item">
<Reference>$Property/Data$</Reference>
</Binding>
<Binding PropertyId="IsNotNull">
<Reference>$Variable/IsValid$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
</Component>
</Composite>
</ComponentImplementation>