Hello,
This is probably a pretty stupid/naive question, but here goes... :-)
How can I get a XamComboEditor to look like a ComboBox? ComboBoxes currently displaying with rounded corners and a gray gradient, while XamComboEditors are simply white with a rectangular border.
My application has the following defined in its application resources:
<igThemes:EditorsOffice2k7Black/> <ResourceDictionary Source="/PresentationFramework.Aero, Version=3.0.0.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35;component/themes/aero.normalcolor.xaml" />Thanks for any ideas you can throw my way...Regards,Bob
Hello Bob,
You can make the XamComboEditor looks like the Microsoft control by setting its Background color with suitable LinearGradientBrush. You can also customize the whole look of the control by styling its Control template. The default templates are installed by default on your computer along with the product, so I can suggest you find the file \Infragistics\NetAdvantage 2011.1\WPF\DefaultStyles\Editors\EditorsGeneric.xaml and set the CornerRadius property of the Border named MainBorder in the default style of the XamComboEditor in order to achieve a rounded corners.
If you need any further assistance on this, please do not hesitate to ask.
Hi Elena,
Thanks for the tip. I was hoping that perhaps there would be a simple way to base the XamComboEditor style on the ComboBox style so it would "inherit" the appearance automatically (e.g. something like
<Style TargetType="igEditors:XamComboEditor" BasedOn="{StaticResource {x:Type ComboBox}}"/> ) but I guess that's not possible....Thanks for the info!Bob
This functionality is currently not build in, so I have sent your feature request directly to our product management.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR13420
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Wonderful, thanks!
Best regards,
Bob