You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SfButton has the property ImageSource, which is then used to render the Image. The property for the image is ActualImage in ButtonBase.cs. Instead of specifying the source, I would like to be able to assign the ActualImage property directly in order to put our custom, child class of Image into ActualImage.
Additionally, are we able to specify the spacing between the text and the image ? Could we specify the max lines for the text ?
Public API Changes
Make ActualImage property public or protected. Or expose a property for users to configure the Image view in SfButton.
Intended Use-Case
For us, we created a child class of Image that has the ability to tint images. We would like to place the tinted image into the SfButton. But the current SfButton only allows us to specify a source.
The text was updated successfully, but these errors were encountered:
Description
SfButton has the property
ImageSource
, which is then used to render theImage
. The property for the image isActualImage
in ButtonBase.cs. Instead of specifying the source, I would like to be able to assign theActualImage
property directly in order to put our custom, child class of Image intoActualImage
.Additionally, are we able to specify the spacing between the text and the image ? Could we specify the max lines for the text ?
Public API Changes
Make
ActualImage
propertypublic
orprotected
. Or expose a property for users to configure the Image view in SfButton.Intended Use-Case
For us, we created a child class of Image that has the ability to tint images. We would like to place the tinted image into the SfButton. But the current SfButton only allows us to specify a source.
The text was updated successfully, but these errors were encountered: