We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfDataGrid Syncfusion.SfDataGrid.XForms.LoadMoreView

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!


5 Replies

BS Balasubramani Sundaram Syncfusion Team August 23, 2019 01:27 PM UTC

Hi Erik,  
 
Thank you for contacting Syncfusion support. 
 
Based on the provided details we have checked the “LoadMoreView Opacity”, but currently we don’t have the support for changing the “Opacity” on load more view. We are checking the feasibility to provide this support in our “SfDataGrid”. We will validate and update you further details on August 28th, 2019. We appreciate your patience until then. 
 
Regards, 
Balasubramani Sundaram. 



BS Balasubramani Sundaram Syncfusion Team September 5, 2019 09:31 AM UTC

Hi Erik,  
 
Thank you for your patience 
 
Currently we didn’t have the support for changing the “Opacity value for LoadMoreView” So, we have logged as feature request for same and we will include the feature in our upcoming Volume 4 Release which is estimated to be available by end of December 2019 
 
You can track the status of this report through the following feedback link,   
 
 
Regards, 
Balasubramani Sundaram. 



EH Erik Hornyak September 5, 2019 02:54 PM UTC

Thank you for the update, I look forward to December's release.


FP Farjana Parveen Ayubb Syncfusion Team September 6, 2019 05:48 AM UTC

Hi Erik, 
 
Thank you for your update. 
 
As we mentioned in earlier updated, we will included your requested feature in our 2019 Volume 4 release it will be available by end of December 2019. We will let you know once it gets released.    
We will appreciate your patience until then. 
 
Regards, 
Farjana Parveen A 



FP Farjana Parveen Ayubb Syncfusion Team December 18, 2019 12:13 PM UTC

Hi Erik,  
 
We are glad to announce that our Essential Studio 2019 Volume 4 Release version 17.4.0.39 is rolled out with your requested “Opacity value for LoadMoreView” and is available for download under the following link.  
 
 
Please find the sample and code snippet below 
 
Code Example:  
 
[C#] 
 
dataGrid.LoadMoreView.Opacity = 0.3; 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
 
Regards, 
Farjana Parveen A 


Loader.
Up arrow icon