Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
Rotate the text of the column headers of xampivotgrid by 90 degrees
posted

Hi ,

I would like to rotate the text of the column headers of xampivotgrid by 90 degrees.

I tried but alignment of the column goes for a toss

<Style x:Key="RotateColumnHeaderStyle" TargetType="ig:PivotColumnHeaderCellControl" >

 <Setter Property="RenderTransform">

       <Setter.Value>          <RotateTransform Angle="90" />       </Setter.Value> </Setter> </Style> 

 

Please someone send me a sample for working this out.

Thanks in advance Rakesh

 

 

Parents
  • 985
    Verified Answer
    posted

    Hi

    Its done :) I worked it out by using below style, i needed to use layouttransform instead of rendertransform

     <Style x:Key="RotateColumnHeaderStyle" TargetType="ig:PivotColumnHeaderCellControl">          

       <Setter Property="LayoutTransform">

                     <Setter.Value>                     <RotateTransform Angle="90" />                 </Setter.Value>             </Setter>         </Style>

Reply Children
No Data