Hi,
I have a RadTreeMap that's working perfectly except that I want its labels to be centered vertically and horizontally within each rectangle.
I'm also using a Colorizer:
<telerik:TypeDefinition.Mappings>
<telerik:DesaturationColorizer From="1" To="0.1" StartColor="#d9ac26"/>
</telerik:TypeDefinition.Mappings>
...so, when I attempt to change use a TextBlock with the proper alignment:
<Style TargetType="telerik:RadTreeMapItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<TextBlock Text="{Binding Label}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
...it successfully centers the labels, but I lose the colorizing effect. How can I make the TextBlock respect the intended colorizing?
Wayne