Unless you can get access to the ControlTemplate
then it sounds like you won't be able to set the normal Border
properties on that TreeView
. You might just have to settle for creating your own (from the default TreeView ControlTemplate
found in the TreeView Styles and Templates page on MSDN):
<Border Name="Border" CornerRadius="1" BorderThickness="1">
<Border.BorderBrush>
<SolidColorBrush Color="{DynamicResource BorderMediumColor}" />
</Border.BorderBrush>
<Border.Background>
<SolidColorBrush Color="{DynamicResource ControlLightColor}" />
</Border.Background>
<TreeView ... />
</Border>
At least this way, you'll be able to customise to your requirements.