Hi, I have a button and I have setted up an image that is bigger than the button.
Is there a posibility from ImageScalingSize property to display the image at the same size like the button is?
Also I have attached an image
Thanks
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 24 Aug 2011, 02:31 PM
Hello,
Thank you for writing.
The desired functionality is achievable. Set the BackgroundImage property of RadButton (instead of the Image property) and then set the BackgroundImageLayout property to Zoom or Stretch. One more thing that you have to do is hide the button FillPrimitive in order to make the BackgroundImage visible. Here is a sample implementation:
I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
Greetings,
Stefan
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>