Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > OutlookBar > OutlookBar Minimize Button Orientation

Not answered OutlookBar Minimize Button Orientation

Feed from this thread
  • Corey Corey's avatar

    Posted on May 23, 2011 (permalink)

    I'm docking my OutlookBar on the right side of my UI, The default minimize button points to the left while expanded, and ideally it'd point to the right.  What is the easiest way to change the orientation?

    Thanks,
    Corey

    Reply

  • Viktor Tsvetkov Viktor Tsvetkov admin's avatar

    Posted on May 24, 2011 (permalink)

    Hello Corey,

    Currently in order to achieve what you want you should edit the template of the RadOutlookBar in Blend and modify the static resource MinimizeButtonStyle which is the one for the minimize button. If you need further assistance feel free to ask.

    Best wishes,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Jun 24, 2011 (permalink)

    Hi Viktor and/or Corey,

    I just started with Blend (a whole new ballgame for me) and managed to rotate the arrow in the static resource.
    But I can't get it to work, the arrow keeps on pointing to the left.

    Feeling a bit silly right now... So.... Is it possible to provide me with a small example?

    Best regards,
    Ronald

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jun 29, 2011 (permalink)

    Hi Ronald,

    I attached a sample project illustrating how to change the MinimizeButton direction. Basically once you edit the ControlTemplate of the RadOutlookBar you need to modify and the MinimizeButtonStyle. It applies a template to the minimize button element of the RadOutlookBar and if you change the RotateTransform angle of the arrow element for the button, you should be able to implement your scenario.

    All the best,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Jun 30, 2011 (permalink)

    Hi Tina, thanks for your reply, I'm still waiting for the coin to drop. But I now have an example I can work with :-)
    It seemed a bit much for just changing the minimize button. :-S

    But again thanks a lot for your help, I can now present a prototype of the intended interface.

    All the best to you,
    Ronald

    edit:
    I noticed that the arrow in a minimized OutlookBar was pointing in the same direction. So I rotated the button rather than the arrow. I also set the HorizontalAlignment to "Left".
    <telerik:RadToggleButton x:Name="MinimizeButton" Margin="0 0 3 0"
            HorizontalAlignment="Left" Width="19" Height="19"
            Style="{StaticResource MinimizeButtonStyle}"
            VerticalAlignment="Center"             
            IsChecked="{Binding IsMinimized, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
            Visibility="{Binding IsMinimizable, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}" RenderTransformOrigin="0.5,0.5" >
        <telerik:RadToggleButton.RenderTransform>
            <CompositeTransform Rotation="-180"/>
        </telerik:RadToggleButton.RenderTransform>
     

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > OutlookBar > OutlookBar Minimize Button Orientation