This question is locked. New answers and comments are not allowed.
I am trying to define a custom Style for the RadCustomHubTile's Front and BackContent property, but I can't get it to work. The code below works just fine if I only include Height/Width, but once I include FrontContent, it gives me a "Value does not fall within expected range" error. What am I missing?
<
phone:PhoneApplicationPage.Resources
>
<
Style
x:Key
=
"LiveTileStyle"
TargetType
=
"telerikPrimitives:RadCustomHubTile"
>
<
Setter
Property
=
"Height"
Value
=
"210"
/>
<
Setter
Property
=
"Width"
Value
=
"210"
/>
<
Setter
Property
=
"FrontContent"
>
<
Setter.Value
>
<
Grid
Background
=
"Red"
>
<
Image
Source
=
"/Assets/ApplicationIcon.png"
Height
=
"210"
Width
=
"210"
/>
<
TextBlock
FontFamily
=
"{StaticResource PhoneFontFamilySemiBold}"
FontSize
=
"{StaticResource PhoneFontSizeNormal}"
Margin
=
"11,0,0,11"
Text
=
"Testing"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
phone:PhoneApplicationPage.Resources
>
... (later in the code)
<
telerikPrimitives:RadCustomHubTile
Style
=
"{StaticResource LiveTileStyle}"
/>