Skip to content

Styling

JanDotNet edited this page Feb 1, 2017 · 2 revisions

FeatureTour supports styling of the popup. The following properties are supported:

  • Background
  • Foreground
  • BorderBrush
  • BorderThickness
  • CornerRadius
  • FontSize

To change that properties, just apply a style to the target type TourControl:

[...]
xmlns:controls="clr-namespace:ThinkSharp.FeatureTouring.Controls;assembly=ThinkSharp.FeatureTour"
[...]

<Style TargetType="controls:TourControl">
    <Setter Property="Background" Value="#3A3A3A"/>
    <Setter Property="Foreground" Value="#AAA9AA"/> 
    <Setter Property="BorderBrush" Value="#040404" /> 
    <Setter Property="CornerRadius" Value="10"/>
    <Setter Property="BorderThickness" Value="3"/> 
</Style> 

It is possible to use the demo application for changing the style at runtime. The corresponding XAML can be copied out of the demo application.

Clone this wiki locally