Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is the best way to show an image or logo mostly on the right side of a ribbon control?

Many thanks.

This is my code.

XML
<ribbon:RibbonGroup  x:Name="aaa" Margin="0,0" Width="auto" >
    <Canvas>
        <Image Canvas.Left="{Binding myMargin}" Canvas.Top="10" Stretch="UniformToFill" Source="Images/myLogo.gif"/>
    </Canvas>
</ribbon:RibbonGroup>

Property myMargin As String = (System.Windows.SystemParameters.PrimaryScreenWidth - 350).ToString + ",70,0,0"
Posted

1 solution

 
Share this answer
 
Comments
abarosini 2-Jan-15 4:35am    
Thanks for your answer, but I must use Framework 4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900