c# - RadDropDownButton.DropDownContent as a RadButton - cannot change highlight color -
here xaml code...
the hover color still yellow goldish out of box color... doing wrong. want change can specify mouse on color.
<telerik:raddropdownbutton height="16" horizontalalignment="left" isopen="false" margin="999,16,0,0" name="rddlocations" verticalalignment="top" width="15" content=" " background="#ff25b7db" foreground="white" borderthickness="0"> <telerik:raddropdownbutton.dropdowncontent> <telerik:radlistbox x:name="uioptionslist" itemssource="{binding locationitems}" background="#ff25b7db"> <telerik:radlistbox.itemtemplate> <datatemplate> <telerik:radbutton> <telerik:radbutton.style> <style targettype="telerik:radbutton"> <setter property="borderbrush" value="transparent"/> <setter property="height" value="32"/> <setter property="width" value="200"/> <setter property="foreground" value="white"/> <setter property="fontfamily" value="franklin gothic book"/> <setter property="fontsize" value="16"/> <setter property="content" value="{binding text}"/> <setter property="tooltip" value="{binding tooltip}"/> <setter property="borderthickness" value="0"/> <setter property="background" value="transparent"/> <style.triggers> <trigger property="ismouseover" value="true"> <setter property="background" value="#ff25b7db"/> <setter property="foreground" value="orange"/> </trigger> </style.triggers> </style> </telerik:radbutton.style> </telerik:radbutton> </datatemplate> </telerik:radlistbox.itemtemplate> </telerik:radlistbox> </telerik:raddropdownbutton.dropdowncontent> </telerik:raddropdownbutton>
my solution use regular button instead of telerik radbutton.
Comments
Post a Comment