PureStorage.FlashArray.ComponentImplemntation.PureHostState (ComponentImplementation)

Element properties:

TypePureStorage.FlashArray.ComponentType.PureHostState
PlatformAll
Target
AccessibilityPublic

Source Code:

<ComponentImplementation ID="PureStorage.FlashArray.ComponentImplemntation.PureHostState" TypeId="PureStorage.FlashArray.ComponentType.PureHostState" Accessibility="Public" Platform="All">
<Composite>
<Component TypeId="Visualization!Microsoft.SystemCenter.Visualization.DataGrid">
<!-- Data property specifies the data that will be used to populate the grid. -->
<Binding PropertyId="Data">
<!--
We will get the data from the Dataset property which must be populated by the calling component.
In this case, we will get the data through a variable from the DatabasePowerShellQuery component.
-->
<Reference>$Property/Dataset$</Reference>
</Binding>
<Binding PropertyId="EnableInlineDetails">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<!-- ColumnHeaderVisible property specifies whether we will display a header on each column. -->
<Binding PropertyId="ColumnHeaderVisible">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<!-- ColumnHeaderVisible property specifies whether the user can change the order of the columns. -->
<Binding PropertyId="CanReorderColumns">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<!-- CellComponentType property specifies what type of cell we will use in the grid. -->
<Binding PropertyId="CellComponentType">
<!--
We will use DataGridGenericCell which is a component in the Visualization library.
This component is specifically designed for the DataGrid component.
You could create a component based on this cell component with particular customizations that you use in multiple grids.
-->
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridGenericCell"/>
</Binding>
<!-- ColumnHeaderComponentType property specifies what type of cell we will use for the header cells. -->
<Binding PropertyId="ColumnHeaderComponentType">
<!--
We will use the same DataGridGenericCell that we used for the rest of the grid.
-->
<SimpleValue Type="xsd://string" Value="Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.DataGridGenericCell"/>
</Binding>
<!-- Columns property defines what data will be displayed in each column. -->
<Binding PropertyId="Columns">
<!--
This is a Complex Value Collection based on the Data Grid Column type of the Column Type schema.
This schema is defined in the Visualization Library which you can refer to for the full list of properties.
We will need to define a Data Grid Column for each of the three columns in our grid. Each will have its own set of properties.
-->
<ComplexValueCollection Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn[]">
<ComplexValue Type="xsd://Microsoft.SystemCenter.Visualization.Library!Microsoft.SystemCenter.Visualization.ColumnType/DataGridColumn">
<!-- PropertyName property specifies the name of the property from the data set used to populate the grid to display in the column. -->
<Binding PropertyId="PropertyName">
<SimpleValue Type="xsd://string" Value="DisplayName"/>
</Binding>
<!-- HeaderDisplayObject property specifies the text to display in the header for the column. -->
<Binding PropertyId="HeaderDisplayObject">
<!--
Instead of explicit text, we will use a string resource defined in this management pack.
Using String Resources allow us to store text that is displayed to the user in the Language Pack.
This allows us to localize the dashboard for different languages.
-->
<Reference>$MPReference/PureStorageFlashArray!PureStorage.FlashArray.PureHost.Datagrid.Column1.Header/DisplayName$</Reference>
</Binding>
<!-- SortableGroupable property specifies whether the user is allowed to sort and group the grid based on this column. -->
<Binding PropertyId="SortableGroupable">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<!-- SortDirection property defines the default sorting direction for the column. -->
<Binding PropertyId="SortDirection">
<SimpleValue Type="xsd://string" Value="Descending"/>
</Binding>
<!-- CanResize property specifies whether the user can resize the width of the column. -->
<Binding PropertyId="CanResize">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<!-- Width property defines the initial width of the column. -->
<Binding PropertyId="Width">
<!--
We will use Auto to let the console automatically size each column in the grid equally.
-->
<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="HealthState"/>
</Binding>
<Binding PropertyId="HeaderDisplayObject">
<Reference>$MPReference/PureStorageFlashArray!PureStorage.FlashArray.PureHost.Datagrid.Column2.Header/DisplayName$</Reference>
</Binding>
<Binding PropertyId="SortableGroupable">
<SimpleValue Type="xsd://boolean" Value="True"/>
</Binding>
<Binding PropertyId="SortDirection">
<SimpleValue Type="xsd://string" Value="Descending"/>
</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>
</Composite>
</ComponentImplementation>