问一个控件样式里面的值怎么绑定到控件的属性

问一个控件样式里面的值如何绑定到控件的属性
<dxc:ChartControl Name="MyChartControl"   >
                        <dxc:ChartControl.Legend>
                            <dxc:Legend>
                                <dxc:Legend.Template>
                                    <ControlTemplate TargetType="dxc:Legend">
                                        <Border Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" 
                                    BorderBrush="{TemplateBinding BorderBrush}" Padding="{TemplateBinding Padding}">
                                            <ScrollViewer  VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
                                                <dxc:LegendItemsControl ItemTemplate="{TemplateBinding ItemTemplate}" 
                                                            ItemsSource="{Binding Path=Items, RelativeSource={RelativeSource TemplatedParent}}">
                                                    <dxc:LegendItemsControl.ItemsPanel>
                                                        <ItemsPanelTemplate>
                                                        <StackPanel Orientation="?" />
                                                        </ItemsPanelTemplate>