rotate the image in the splitbutton

Ribbon for WPF Forum

Posted 13 years ago by Arthur Damen
Version: 10.2.0530
Avatar
Hi,
is it possible to rotate the image in the splitbutton (Imagesourcelarge)?
<ribbon:SplitButton Name="MainSplit" Label="Hello" ImageSourceLarge="{x:Static res:SomeImage}" VariantSize="Large" >
I have a lot of library images that must be displayed in a splitbutton and i do not want to create all the images for the 4 sides (0,90,180,270).
I can't figure out how to use a layouttransform with a rotatetransform as with a normal image.

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Arthur,

Sorry I believe all we expose is the ImageSource so you could perhaps write some sort of ImageSource-based object that did rotation. Or alternatively enhance the default SplitButton style to do it in the template.


Actipro Software Support

The latest build of this product (v23.1.3) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.