|
<Border
x:Name="HorizontalDecreaseRectangle"
Grid.Row="1"
Grid.ColumnSpan="3"
HorizontalAlignment="Left"
Background="{TemplateBinding Foreground}"
CornerRadius="8,0,0,8">
<Border.Width>
<MultiBinding Converter="{StaticResource RadiusConverter}">
<Binding Path="Width" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="Value" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="Maximum" RelativeSource="{RelativeSource TemplatedParent}" />
</MultiBinding>
</Border.Width>
</Border> |
Hi Mark,
We have validated your query and created sample based on your code snippet to achieve your requirement .Please find the sample from below link
Sample:https://www.syncfusion.com/downloads/support/directtrac/general/ze/RangeSliderWPF1188316914
In this sample, we have added the border as like below code snippet to achieve your requirement.
Code Snippet:
<Borderx:Name="HorizontalDecreaseRectangle"Grid.Row="1"Grid.ColumnSpan="3"HorizontalAlignment="Left"Background="{TemplateBinding Foreground}"CornerRadius="8,0,0,8"><Border.Width><MultiBinding Converter="{StaticResource RadiusConverter}"><Binding Path="Width" RelativeSource="{RelativeSource TemplatedParent}" /><Binding Path="Value" RelativeSource="{RelativeSource TemplatedParent}" /><Binding Path="Maximum" RelativeSource="{RelativeSource TemplatedParent}" /></MultiBinding></Border.Width></Border>
Please let us know if you have any concern.
Regards,
Sakthivel P.