DataGrid.Configuration.ColumnPickerWithSortGroupImplementation (ComponentImplementation)

Element properties:

TypeDataGrid.Configuration.ColumnPickerWithSortGroup
PlatformAll
Target
AccessibilityInternal

Source Code:

<ComponentImplementation ID="DataGrid.Configuration.ColumnPickerWithSortGroupImplementation" TypeId="DataGrid.Configuration.ColumnPickerWithSortGroup" Platform="All" Accessibility="Internal">
<Composite>
<Variable Id="CurrentSelection" Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn"/>
<Variable Id="AddToSortButtonEnabled" Type="xsd://boolean"/>
<Variable Id="AddToGroupButtonEnabled" Type="xsd://boolean"/>
<Variable Id="SelectAll" Type="xsd://boolean"/>
<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="auto"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="RowCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridRow">
<Binding PropertyId="Height">
<SimpleValue Type="xsd://string" Value="1*"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="RowCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridRow">
<Binding PropertyId="Height">
<SimpleValue Type="xsd://string" Value="auto"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="RowCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridRow">
<Binding PropertyId="Height">
<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="1*"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="ColumnCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridColumn">
<Binding PropertyId="Width">
<SimpleValue Type="xsd://string" Value="40"/>
</Binding>
</Component>
</Binding>
<Binding PropertyId="ColumnCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridColumn">
<Binding PropertyId="Width">
<!-- width of the button + margin as specified in spec & redlines -->
<SimpleValue Type="xsd://string" Value="44"/>
</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="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.CheckBox">
<Binding PropertyId="IsChecked">
<Reference>$Variable/SelectAll$</Reference>
</Binding>
<Binding PropertyId="LabelText">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.Visualization.Library.DataGridConfig.SelectAllCheckboxLabel/DisplayName$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="1"/>
</Binding>
<Binding PropertyId="RowSpan">
<SimpleValue Type="xsd://string" Value="3"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="0"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="DataGrid.Configuration.ColumnPicker">
<Binding PropertyId="IsValid">
<Reference>$Property/IsValid$</Reference>
</Binding>
<Binding PropertyId="AllColumns">
<Reference>$Property/AllColumns$</Reference>
</Binding>
<Binding PropertyId="SelectedColumns">
<Reference>$Property/SelectedColumns$</Reference>
</Binding>
<Binding PropertyId="CurrentSelection">
<Reference>$Variable/CurrentSelection$</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="3"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="Microsoft.SystemCenter.Visualization.Label">
<Binding PropertyId="Value">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.Visualization.Library.AlertViewPersonalization.SortByTitle/DisplayName$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="1"/>
</Binding>
<Binding PropertyId="ColumnSpan">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="DataGrid.Configuration.SortGroupControl">
<Binding PropertyId="Columns">
<Reference>$Property/SortedColumns$</Reference>
</Binding>
<Binding PropertyId="NewColumn">
<Reference>$Variable/CurrentSelection$</Reference>
</Binding>
<Binding PropertyId="AddButtonEnabled">
<Reference>$Variable/AddToSortButtonEnabled$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="3"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="Microsoft.SystemCenter.Visualization.Label">
<Binding PropertyId="Value">
<Reference>$MPReference/Microsoft.SystemCenter.Visualization.Configuration.Library!Microsoft.SystemCenter.Visualization.Library.AlertViewPersonalization.GroupByTitle/DisplayName$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="CellCollection">
<Component TypeId="Visual!Microsoft.SystemCenter.Visualization.LayoutGridCell">
<Binding PropertyId="RowId">
<SimpleValue Type="xsd://string" Value="3"/>
</Binding>
<Binding PropertyId="ColumnId">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="ColumnSpan">
<SimpleValue Type="xsd://string" Value="2"/>
</Binding>
<Binding PropertyId="Content">
<Component TypeId="DataGrid.Configuration.SortGroupControl">
<Binding PropertyId="Columns">
<Reference>$Property/GroupedColumns$</Reference>
</Binding>
<Binding PropertyId="NewColumn">
<Reference>$Variable/CurrentSelection$</Reference>
</Binding>
<Binding PropertyId="AddButtonEnabled">
<Reference>$Variable/AddToGroupButtonEnabled$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="DataGrid.Configuration.SortGroupControlValidator">
<Binding PropertyId="MaxSortItems">
<SimpleValue Type="xsd://int" Value="3"/>
</Binding>
<Binding PropertyId="MaxGroupItems">
<SimpleValue Type="xsd://int" Value="3"/>
</Binding>
<Binding PropertyId="AddToGroupButtonEnabled">
<Reference>$Variable/AddToGroupButtonEnabled$</Reference>
</Binding>
<Binding PropertyId="AddToSortButtonEnabled">
<Reference>$Variable/AddToSortButtonEnabled$</Reference>
</Binding>
<Binding PropertyId="SortedColumns">
<Reference>$Property/SortedColumns$</Reference>
</Binding>
<Binding PropertyId="GroupedColumns">
<Reference>$Property/GroupedColumns$</Reference>
</Binding>
<Binding PropertyId="SelectedColumns">
<Reference>$Property/SelectedColumns$</Reference>
</Binding>
<Binding PropertyId="NewColumn">
<Reference>$Variable/CurrentSelection$</Reference>
</Binding>
</Component>
</Binding>
<Binding PropertyId="Objects">
<Component TypeId="DataGrid.Configuration.SelectAllLogicController">
<Binding PropertyId="SelectAll">
<Reference>$Variable/SelectAll$</Reference>
</Binding>
<Binding PropertyId="AllColumns">
<Reference>$Property/AllColumns$</Reference>
</Binding>
<Binding PropertyId="SelectedColumns">
<Reference>$Property/SelectedColumns$</Reference>
</Binding>
</Component>
</Binding>
</Component>
</Composite>
</ComponentImplementation>