Hello,
Is there any way to set the transparency/opacity value for tooltips displayed on the map?
Applying custom style like shown here: http://www.telerik.com/help/wpf/radmap-features-information-layer-shape-reder.html#ToolTipStyle
works only for non transparent colours. Alpha channels applied to those colors from the example are simply ignored. I'd like to have a transparent background for tooltips.
Templates dont help either, since they're inside the tooltip anyway.
Colors work, excpt nothing is transparent. Neither Opacity nor Alpha for background works.
Is there any way to set the transparency/opacity value for tooltips displayed on the map?
Applying custom style like shown here: http://www.telerik.com/help/wpf/radmap-features-information-layer-shape-reder.html#ToolTipStyle
works only for non transparent colours. Alpha channels applied to those colors from the example are simply ignored. I'd like to have a transparent background for tooltips.
Templates dont help either, since they're inside the tooltip anyway.
SqlGeospatialDataReader reader = new SqlGeospatialDataReader();
reader.GeospatialPropertyName = "Geom";
reader.Source = myTestSource;
reader.ToolTipFormat = "{Name} - {Count}";
reader.ToolTipStyle = getStyle("CustomToolTip"); //getStyle gets this style:
<
Style
TargetType
=
"ToolTip"
x:Key
=
"customToolTipStyle"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"Orange"
/>
<
Setter
Property
=
"Opacity"
Value
=
"25"
/>
<
Setter
Property
=
"Background"
Value
=
"#7F000000"
/>
<
Setter
Property
=
"Foreground"
Value
=
"White"
/>
</
Style
>
Colors work, excpt nothing is transparent. Neither Opacity nor Alpha for background works.