or
<
chart:RadCartesianChart.VerticalAxis
>
<
chartView:LinearAxis
FontFamily
=
"Segoe UI"
FontSize
=
"{Binding AxisFontSize}"
Title
=
"{Binding AxisTitle}"
Minimum
=
"0"
Maximum
=
"{Binding AxisMaxValue}"
LabelFormat
=
"{Binding AxisLabelFormat}"
>
</
chartView:LinearAxis
>
</
chart:RadCartesianChart.VerticalAxis
>
public
double
AxisFontSize
{
get
{
return
this
._axisFontSize;
}
set
{
if
(
this
._axisFontSize != value )
{
this
._axisFontSize = value;
this
.OnPropertyChanged(
"AxisFontSize"
);
this
.OnPropertyChanged(
"AxisLabelFormat"
);
}
}
}
<
DataTemplate
x:Key
=
"DashAppTileItemTemplate"
>
<
Grid
VerticalAlignment
=
"Top"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"50"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"55"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Image
VerticalAlignment
=
"Center"
Grid.Row
=
"0"
Grid.Column
=
"0"
Source
=
"{Binding Path=Image , Mode=OneWay, TargetNullValue=Category.Image}"
Margin
=
"5,0"
/>
<
TextBlock
VerticalAlignment
=
"Center"
Grid.Row
=
"0"
Grid.Column
=
"1"
Text
=
"{Binding Path=Libelle, Mode=OneWay}"
FontSize
=
"18"
/>
<
TextBlock
Grid.Row
=
"1"
Grid.Column
=
"1"
Text
=
"This is my very long text"
TextWrapping
=
"Wrap"
/>
</
Grid
>
</
DataTemplate
>