Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

RadRibbonGroup.LargeImage

$
0
0

Hi!

I need use a different image from data base, i will asign the image(PNG) in order of an specific process.

The images recovered from data base are created in a temporal folder in order to use them in the dynamic process when i need chage the image.

At this moment the asignation of an image is ok but i can not see the image in the button:

RadRibbonButton objArea = new RadRibbonButton();
objArea.LargeImage = new BitmapImage(new Uri(auxPath + (string)dt.Rows[i].ItemArray[1], UriKind.Relative));
objArea.Size = Telerik.Windows.Controls.RibbonView.ButtonSize.Large;

If i use a RadRibbonButton created manually in xaml, i can change the image and the result is ok.

//control created in xaml
btnExample.LargeImage = new BitmapImage(new Uri(auxPath + (string)dt.Rows[i].ItemArray[1]));

If you help me i will be greateful.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>