Using WPF Path for ribbon:Button Image

Ribbon for WPF Forum

Posted 13 years ago by MCRXB
Version: 11.1.0541
Is it possible to set the image of a ribbon button to a WPF path or other canvas element?

I can do it with a regular WPF button:

    <Polygon Points="100,0 75,75 100,100 125,75" Stroke="Black" StrokeThickness="2" Fill="Yellow"/>

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Sorry but ribbon buttons are designed to support variant sizes, and thus have to specifically support images of certain sizes for their content, and text labels per the ribbon spec.

There are some styles included for native buttons though that you could use that make the native buttons look like ribbon buttons. Those may be of use to you.

Actipro Software Support

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.