or
Help?
<
telerik:RadTileView
Name
=
"RadTileViewUsers"
ContentTemplate
=
"{StaticResource ContentTemplate}"
ItemTemplate
=
"{StaticResource ItemTemplate}"
MinimizedColumnWidth
=
"150"
MinimizedRowHeight
=
"150"
RowHeight
=
"120"
ColumnWidth
=
"147"
MaximizeMode
=
"Zero"
PreviewTileDragStarted
=
"RadTileViewUsers_PreviewTileDragStarted"
ItemContainerStyle
=
"{StaticResource RadTileViewItemStyle}"
PreservePositionWhenMaximized
=
"True"
IsVirtualizing
=
"True"
IsSelectionEnabled
=
"True"
/>
<
Style
x:Key
=
"RadTileViewItemStyle"
TargetType
=
"telerik:RadTileViewItem"
>
<
Setter
Property
=
"telerik:RadDragAndDropManager.AllowDrag"
Value
=
"True"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource TileView_Background}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TileView_OuterBorder}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Padding"
Value
=
"7"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadTileViewItem"
>
<
Grid
>
<
Border
x:Name
=
"outerBorder"
Margin
=
"{TemplateBinding Padding}"
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"{StaticResource TileView_OuterBorder_CornerRadius}"
>
<
Border
x:Name
=
"outerContainer"
Background
=
"Transparent"
BorderBrush
=
"{StaticResource TileView_InneBorder}"
BorderThickness
=
"{StaticResource TileView_InneBorder_Thickness}"
CornerRadius
=
"{StaticResource TileView_InneBorder_CornerRadius}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
>
<
Border
Background
=
"{StaticResource TileView_HeaderBackground}"
BorderBrush
=
"{StaticResource TileView_HeaderBorder}"
BorderThickness
=
"{StaticResource TileView_HeaderBorder_Thickness}"
CornerRadius
=
"{StaticResource TileView_HeaderBorder_CornerRadius}"
Padding
=
"10 0 7 0"
>
<
Grid
MinHeight
=
"28"
>
<
Border
x:Name
=
"GripBarElement"
Background
=
"Transparent"
>
<
ContentPresenter
x:Name
=
"HeaderElement"
Margin
=
"0,0,10,0"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
ContentTemplate
=
"{TemplateBinding HeaderTemplate}"
/>
</
Border
>
<!-- This is the default Minimize/Maximize button -->
<!--
<
telerik:RadToggleButton
x:Name
=
"MaximizeToggleButton"
Command
=
"tileView:TileViewCommands.ToggleTileState"
Style
=
"{StaticResource maximizeToggleStyle}"
/>
-->
<!--<
StackPanel
HorizontalAlignment
=
"Right"
Orientation
=
"Horizontal"
>
<
telerik:RadButton
>Refresh</
telerik:RadButton
>
<
telerik:RadButton
>Minimize</
telerik:RadButton
>
<
telerik:RadButton
>Maximize</
telerik:RadButton
>
</
StackPanel
>-->
</
Grid
>
</
Border
>
<
Border
x:Name
=
"Splitter"
Height
=
"4"
Background
=
"{StaticResource TileView_HeaderBorder_HorizontalSplitterBackground}"
BorderThickness
=
"0"
OpacityMask
=
"{StaticResource TileView_HeaderBorder_HorizontalSplitterOpacityMask}"
/>
</
StackPanel
>
<
Grid
Grid.Row
=
"1"
Background
=
"Transparent"
>
<
ContentPresenter
x:Name
=
"ContentElement"
Grid.Row
=
"1"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
Content
=
"{TemplateBinding Content}"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
/>
</
Grid
>
<
Rectangle
x:Name
=
"DisabledVisual"
Grid.RowSpan
=
"2"
Fill
=
"{StaticResource DisabledBrush}"
RadiusX
=
"4"
RadiusY
=
"4"
Visibility
=
"Collapsed"
/>
</
Grid
>
</
Border
>
</
Border
>
<
Grid
x:Name
=
"SelectedItem"
Margin
=
"-1"
Visibility
=
"Collapsed"
>
<
Border
Margin
=
"{TemplateBinding Padding}"
BorderBrush
=
"{StaticResource ControlOuterBorder_Selected}"
BorderThickness
=
"2"
CornerRadius
=
"{StaticResource TileView_OuterBorder_CornerRadius}"
/>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Dim trackGroupDescriptor As New Telerik.Windows.Data.GroupDescriptor
trackGroupDescriptor.Member = "TrackName"
trackGroupDescriptor.DisplayContent = "Track"
trackGroupDescriptor.SortDirection = ComponentModel.ListSortDirection.Ascending
AllTrackGrid.GroupDescriptors.Add(trackGroupDescriptor)
Dim FeatureGroupDescriptor As New Telerik.Windows.Data.GroupDescriptor
FeatureGroupDescriptor.Member = "FeatureName"
FeatureGroupDescriptor.DisplayContent = "Feature"
FeatureGroupDescriptor.SortDirection = ComponentModel.ListSortDirection.Ascending
AllTrackGrid.GroupDescriptors.Add(FeatureGroupDescriptor)
The problem I am having is that when the grid loads only one single data row appears inside each of the inner (second) group descriptor, while the actual number of rows which should be present is more. Hoever when I remove the column headers from the 'ShowGroupPanel' while application is running and add them once more, I am able to see all the entries properly. Is there something I am missing in the code?
BTW: Tried adding the descriptor from design-side as well, but having the same issue.
Thanks
Anish George