2017-12-13 27 views

답변

0

당신은 암시 적 LegendItemControl 스타일을 정의 할 수 있습니다 :

<telerik:RadLegend Background="White" 
        BorderBrush="Black" 
        BorderThickness="1" 
        Items="{Binding LegendItems, ElementName=chart1}" 
        HorizontalAlignment="Right" 
        VerticalAlignment="Top"> 
    <telerik:RadLegend.Resources> 
     <Style TargetType="telerik:LegendItemControl" BasedOn="{StaticResource {x:Type telerik:LegendItemControl}}"> 
      <Setter Property="Margin" Value="0 0 0 100" /> 
     </Style> 
    </telerik:RadLegend.Resources> 
</telerik:RadLegend>