c# - Style "filter operators" ComboBox of Telerik RadDataFilter -
so have raddatafilter
<telerik:raddatafilter x:name="raddatafilter" />
problem: want hide filter operators combobox. (the 1 has "contains", "is equal to" ... etc. etc. etc.)
searching telerik's website , forum led me believe way override whole controltemplate
.
the solution came style base on trigger:
<style targettype="telerik:radcombobox"> <style.triggers> <trigger property="x:name" value="part_simplefilteroperatorcombobox"> <setter property="visibility" value="collapsed" /> </trigger> </style.triggers> </style>
you can name , set style raddatafilter so:
<telerik:raddatafilter x:name="raddatafilter"> <telerik:raddatafilter.resources> <style targettype="telerik:radcombobox" basedon="{staticresource hiddenoperatorstyle}" /> </telerik:raddatafilter.resources> </telerik:raddatafilter>
Comments
Post a Comment