I tried applying Michael Crump's Blog Post, here, to my own code. Particularly the Group Template stuff. I now have two Groups shown but my Tiles all disappeared.
Below is my XAML, what am I doing wrong, everything seems to match up with what he is showing and my Tile's all displayed before I applied the Group stuff.
Thanks,
Below is my XAML, what am I doing wrong, everything seems to match up with what he is showing and my Tile's all displayed before I applied the Group stuff.
<
Window
x:Name
=
"ShellWindow"
x:Class
=
"Green.ShellView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:cal
=
"http://www.caliburnproject.org"
>
<
Window.Resources
>
<
DataTemplate
x:Key
=
"GroupTemplate"
>
<
TextBlock
Text
=
"{Binding}"
Foreground
=
"Gray"
Margin
=
"20"
FontWeight
=
"Bold"
FontSize
=
"20"
FontFamily
=
"Segoe UI"
/>
</
DataTemplate
>
<
Style
TargetType
=
"telerik:Tile"
>
<
Setter
Property
=
"Margin"
Value
=
"20,15,5,0"
/>
</
Style
>
<
Style
TargetType
=
"TextBlock"
x:Key
=
"TileLabelStyle"
>
<
Setter
Property
=
"FontSize"
Value
=
"14"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"Segoe UI"
/>
<
Setter
Property
=
"Margin"
Value
=
"10"
/>
<
Setter
Property
=
"Foreground"
Value
=
"White"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Bottom"
/>
</
Style
>
<
Style
TargetType
=
"TextBlock"
x:Key
=
"LiveTileLabelStyle"
>
<
Setter
Property
=
"FontSize"
Value
=
"24"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"Segoe UI"
/>
<
Setter
Property
=
"Margin"
Value
=
"5"
/>
<
Setter
Property
=
"Foreground"
Value
=
"White"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Center"
/>
</
Style
>
</
Window.Resources
>
<
telerik:RadDockPanel
x:Name
=
"LayoutRoot"
LastChildFill
=
"True"
>
<
telerik:RadExpander
x:Name
=
"UserInfoContainer"
ExpandDirection
=
"Up"
IsExpanded
=
"True"
telerik:RadDockPanel.Dock
=
"Top"
>
<
telerik:RadExpander.Header
>
<
Grid
HorizontalAlignment
=
"Stretch"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:Label
Content
=
"User Information"
/>
<
Rectangle
Grid.Column
=
"1"
Height
=
"2"
Margin
=
"5,0,0,0"
VerticalAlignment
=
"Center"
Fill
=
"Gray"
/>
</
Grid
>
</
telerik:RadExpander.Header
>
<
telerik:RadExpander.Content
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"Good Day Sir!!!"
/>
<
Ellipse
Width
=
"33"
Height
=
"33"
Margin
=
"5"
Fill
=
"Yellow"
/>
<
Ellipse
Width
=
"33"
Height
=
"33"
Margin
=
"5"
Fill
=
"Blue"
/>
<
Ellipse
Width
=
"33"
Height
=
"33"
Margin
=
"5"
Fill
=
"Red"
/>
</
StackPanel
>
</
telerik:RadExpander.Content
>
</
telerik:RadExpander
>
<
telerik:RadTileList
x:Name
=
"AppLaunchPad"
GroupTemplate
=
"{StaticResource GroupTemplate}"
ScrollViewer.HorizontalScrollBarVisibility
=
"Visible"
cal:Message.Attach
=
"[Event SelectionChanged] = [Action OpenDoorway($eventArgs)]"
>
<
telerik:Tile
x:Name
=
"PendingAuthTile"
Background
=
"BlueViolet"
TileType
=
"Single"
Group
=
"First"
>
<
Grid
>
<
TextBlock
Text
=
"Pending"
Style
=
"{StaticResource TileLabelStyle}"
/>
<
TextBlock
x:Name
=
"PendingAuthCount"
Text
=
"0"
Style
=
"{StaticResource LiveTileLabelStyle}"
/>
</
Grid
>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"CreateAuthTile"
Group
=
"First"
Background
=
"Green"
TileType
=
"Single"
cal:Message.Attach
=
"[Event MouseDoubleClick] = [Action CreateAuth] "
>
<
TextBlock
Text
=
"Create"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"ModifyAuthTile"
Group
=
"Second"
Background
=
"CadetBlue"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Modify"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"DeleteAuthTile"
Group
=
"Second"
Background
=
"Sienna"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Delete"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
</
telerik:RadTileList
>
</
telerik:RadDockPanel
>
</
Window
>
Thanks,