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

FilterButtonAppliedBrush, FilterButtonHoverInnerBrush and FilterButtonHoverOuterBrush have no effect

Thread ID:

Created:

Updated:

Platform:

Replies:

104697 Aug 9,2012 06:54 PM Aug 16,2012 08:16 AM WPF 1
loading
Tags: GridControl
Mike Lowe
Asked On August 9, 2012 06:54 PM

I'm trying to Hide the filter icon unless the user mouses over the column header or a filter has already been applied (to indicate the current column is filtered).

Here is what I've tried:

<syncfusion:GridDataControl.StyleManager>
<syncfusion:GridDataStyleManager>
<syncfusion:GridDataStyleManager.HeaderAppearence>
<syncfusion:HeaderAppearence FilterButtonInnerBrush="Blue" HeaderHoverBackgroundBrush="LightBlue" FilterButtonOuterBrush="Blue" HeaderBackgroundBrush="Blue" FilterButtonAppliedBrush="White" FilterButtonHoverInnerBrush="White" FilterButtonHoverOuterBrush="White" />
</syncfusion:GridDataStyleManager.HeaderAppearence>
</syncfusion:GridDataStyleManager>
</syncfusion:GridDataControl.StyleManager>

Setting the FilterButtonOuterBrush and FilterButtonInnerBrush works fine and appears "hidden" against the Header background of the same color.

Why does setting the FilterButtonAppliedBrush, FilterButtonHoverInnerBrush and FilterButtonHoverOuterBrush have no effect?

Any advice would be greatly appreciated.

Santhosh A [Syncfusion]
Replied On August 16, 2012 08:16 AM

Hi Mike,

 

Thanks for using Syncfusion products.

 

We analyzed your query and you can achieve your requirement by setting the EnableLegacyStyle=”True” in GridDataControl.

In our upcoming release volume 3,we changed the Filter Button behavior to differentiate Filtered Columns and Non Filtered Columns, Which will be available in mid of August, 2012.

 

Please let us know if you have any concerns.

 

Regards,

Santhosh.A


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.

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.

;