I need to display a tiled image as BackgroundImage in a RadSplitButton, but when I set the BackgroundImage property it is ignored by the control
In the other hand, the Image property works as normally, but I need to set the BackgroundImage property.
Why this property is ignored by default, and how to fix it?.
Ive discussed this in other site ( http://stackoverflow.com/questions/25869595/telerik-radsplitbutton-ignores-backgroundimage-property );
and the suggested solution was:
'In order to show the button background image you have to hide its fill',
but doing that the button looses the applied theme.
Following the suggested solution there, the person who helped me said one more thing:
"It is a fact that to see a background image you have to give some transparency to the top layer and this is why you loose the Theme. So rather sort out the image dimensions before using it as image for the control and use "Image" instead of backgroundImage."
...But I can't understand that because:
"A normal Image property is drawn over the top-layer so why suppose a big problem to do the same as default with a BackgroundImage?,
if you notice it a default .NET framework control (eg: a Button) can manage a BackgroundImage without loosing the theme then this issue with Teleirk controls for me is a little bit strange."
Thanks in advance.
In the other hand, the Image property works as normally, but I need to set the BackgroundImage property.
Why this property is ignored by default, and how to fix it?.
Ive discussed this in other site ( http://stackoverflow.com/questions/25869595/telerik-radsplitbutton-ignores-backgroundimage-property );
and the suggested solution was:
'In order to show the button background image you have to hide its fill',
but doing that the button looses the applied theme.
Following the suggested solution there, the person who helped me said one more thing:
"It is a fact that to see a background image you have to give some transparency to the top layer and this is why you loose the Theme. So rather sort out the image dimensions before using it as image for the control and use "Image" instead of backgroundImage."
...But I can't understand that because:
"A normal Image property is drawn over the top-layer so why suppose a big problem to do the same as default with a BackgroundImage?,
if you notice it a default .NET framework control (eg: a Button) can manage a BackgroundImage without loosing the theme then this issue with Teleirk controls for me is a little bit strange."
Thanks in advance.