We're attempting to custom style the SfDataGrid View More button to match our theme. The default behavior of the button looks to be rendering at an opacity far less than 100%. Is there any way to override the default opacity to more closely or precisely match our color theme?
This is in our constructor:
/ New instance of SfButton to represent the load more button.
// Style to fit our theme.
_loadMoreView = new Syncfusion.XForms.Buttons.SfButton
{
Text = "View More Items",
ShowIcon = false,
TextColor = Color.FromHex("#FFFFFF"),
BackgroundColor = GetColorFromType(totalType),
HorizontalTextAlignment = TextAlignment.Center,
VerticalTextAlignment = TextAlignment.Center,
HorizontalOptions = LayoutOptions.CenterAndExpand,
VerticalOptions = LayoutOptions.CenterAndExpand,
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)),
Opacity = 1.0
};
GetColorFromType returns App.Current.Resources.TryGetValue("ErrorColor", out color);
When the grid renders and LoadMore is available, it's displaying less than completely opaque.
Thanks for any help!