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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to avoid blurred image in the GridImageColumn while filtering or scrolling the SfDataGrid?

Platform: UWP |
Control: SfDataGrid |
.NET Framework: 4.5

The images loaded to the GridImageColumn looks blurred while filtering, scrolling, or refreshing the SfDataGrid. Here, the GridCell that is loaded to the view has blurred images since the SfDataGrid uses the VirtualizaionMode as recycling, by default.


The same scenario is discussed in the MSDN link.



You can overcome this by customizing the cell style of the GridImageColumn with the target type as GridCell and set the CacheMode as the BitmapCache. This is demonstrated in the following code example.


    <!--Sets the CacheMode as BitmapCache for the GridImageColumn's cell -->.
    <Style x:Key="cellStyle" TargetType="syncfusion:GridCell">
        <Setter Property="CacheMode" Value="BitmapCache" />
<syncfusion:GridImageColumn Width="80"
                            CellStyle="{StaticResource cellStyle}"
                            ValueBinding="{Binding Country,
                                                   Converter={StaticResource converter}}" />


Sample Links:





2X faster development

The ultimate UWP UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile