Hi,
For 2), instead of modifying the BorderThickness of the SearchTextBox, you can modify the BorderBrush. In the "searchBoxContainer", use this :
Thanks
For 2), instead of modifying the BorderThickness of the SearchTextBox, you can modify the BorderBrush. In the "searchBoxContainer", use this :
<local:WatermarkTextBox x:Name="_txtFilter"
Background="Transparent"
Text="{Binding Filter, RelativeSource={RelativeSource TemplatedParent}, UpdateSourceTrigger=PropertyChanged}"
Watermark="{TemplateBinding FilterWatermark}"
BorderThickness="1">
<local:WatermarkTextBox.Style>
<Style TargetType="Control">
<Setter Property="BorderBrush"
Value="Transparent" />
<Style.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter Property="BorderBrush"
Value="{StaticResource MouseOverBorderBrush}" />
</Trigger>
</Style.Triggers>
</Style>
</local:WatermarkTextBox.Style>
</local:WatermarkTextBox>
This will be included in v3.1 of the Toolkit.Thanks