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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to style Group Drop Area Items

Thread ID:

Created:

Updated:

Platform:

Replies:

126387 Oct 12,2016 03:57 PM UTC Apr 7,2018 02:32 PM UTC WPF 2
loading
Tags: SfDataGrid
Gianni Ghezzi
Asked On October 12, 2016 03:57 PM UTC

I'm no able to styling the Group Drop Area Items.
I've tried to use the GroupDropAreaStyleProperty to change foregraund and background but it is able to change only the Watermark Area and not the Item after they are dropped inside.


Jai Ganesh S [Syncfusion]
Replied On October 13, 2016 07:06 AM UTC

Hi Gianni, 
 
You can customize the GropDropArea by writing the style for GroupDropArea . We already have a kb for this, 
 
Kb Link: 
 
UG Link: 
 
And you can apply the style for GroupDropAreaItem by write the style for GroupDropAreaItem like below, 
 
<Window.Resources> 
       <Style x:Key="GroupDropAreaItemStyle" TargetType="{x:Type Syncfusion:GroupDropAreaItem}"> 
            <Setter Property="Foreground" Value="Red" /> 
            <Setter Property="Background" Value="LightBlue" /> 
        </Style> 
        <Style BasedOn="{StaticResource GroupDropAreaItemStyle}" TargetType="{x:Type Syncfusion:GroupDropAreaItem}" /> 
    </Window.Resources> 
 
 
Please refer the following  UG to show how to edit the default style for SfDataGrid  
 
 
 
Regards, 
Jai Ganesh S 
 


Ameer Deen
Replied On April 7, 2018 02:32 PM UTC

I'm no able to styling the Group Drop Area Items.
I've tried to use the GroupDropAreaStyleProperty to change foregraund and background but it is able to change only the Watermark Area and not the Item after they are dropped inside.


Agree

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;