最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

.net - How to style XAMDataGrid filter label icon? - Stack Overflow

programmeradmin2浏览0评论

I'm using the XAMDataGrid from xmlns:igDP="; namespace. Following is my data grid

<igDP:XamDataGrid Grid.Row="1" Margin="3 3 6 3" Background="Transparent"
            x:Name="gridname" Theme="IGTheme"
            IsSynchronizedWithCurrentItem="True"
            DataSource="{Binding Source={StaticResource somedata}}" 
            ActiveDataItem="{Binding Selected, UpdateSourceTrigger=PropertyChanged}"
            GroupByAreaLocation="None"                                                           
            RecordActivating="dg_RecordActivating"  
            RecordFilterChanged="dg_RecordFilterChanged"
            CrossFieldRecordFilterChanged="dg_CrossFieldRecordFilterChanged"
            ScrollingMode="DeferredWithScrollTips" 
            MouseDoubleClick="dg_MouseDoubleClick"  
            HorizontalAlignment="Stretch">

It has the following FiledLayoutSettings

<igDP:FieldLayoutSettings AutoGenerateFields="False" 
                        AllowAddNew="False" 
                        AllowDelete="True" 
                        AllowFieldMoving="No" 
                        FilterUIType="LabelIcons" // need to style this icons
                        FilterRecordLocation="Default"                                             
                        HeaderPrefixAreaDisplayMode="Menu" 
                        HeaderPrefixAreaMenuOptions="Default"
                        HighlightAlternateRecords="True"
                        
                        SelectionTypeRecord="Single" 
                        SupportDataErrorInfo="RecordsAndCells"/>

The problem is the filter icons on the header are so stealthy, and not standing out. I need to change the color of this icon (the icon just like we have a filter icon on spreadsheet headers when we turn on filtering). Please post what options do I have.

发布评论

评论列表(0)

  1. 暂无评论