How to invert the Arrow direction (not using FlowDirection)

3 posts, 0 answers
  1. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 11 Aug Link to this post



    how to invert the Arrow direction >> to <<

    the property flowDirection isn't good for me because it's change all the inner controls directions



  2. Martin
    Martin avatar
    1101 posts

    Posted 15 Aug Link to this post

    Hi Shay,

    I guess you are talking about the minimize button of the outlookbar control. If so, you can change its direction by extracting the ControlTemplate of the button and changing the geometry of the Path element that represents the arrow. 

    Here is the original XAML of the Path element:
    <!-- the other part of the template -->
    <Path x:Name="arrow" Data="M0,0L0.67,0 4,2.67 7.25,0 8,0 8,0.67 4,4 0,0.75z"
          Fill="Black" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
          Height="4" Margin="{TemplateBinding Padding}" RenderTransformOrigin="0.5,0.5" Stretch="Fill"
          VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Width="8">
            <RotateTransform Angle="90"/>
    <!-- the other part of the template -->
    After you edit the default button style you can re-apply it through the MinimizeButtonStyle property of RadOutlookBar.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 15 Aug in reply to Martin Link to this post

    Thanks a lot for the replay
Back to Top