I recently purchased 2012.2 verision of the controls. Coming from 2009. The new or updated control I'm intersted in is XamComboEditor. I would like to use it for it's new checkboxs and multiselectablity. I changed namespace to http://schemas.infragistics.com/xaml/wpf, but it seems to still use old control in Windows.Editor namespace. I get CheckboxVisiblity property does not exist in http://schemas.infragistics.com/xaml/wpf namespace. I referenced the InfragisticsWPF4.Controls.Editors.XamComboEditor.v12.2.dll.
Any ideas?
Hello Boricua,
Thank you for posting.
Infragistics has two controls named XamComboEditor one is shared (could be used in both in Silverlight and WPF) and the other one is used only in WPF. The shared XamComboEditor could be used after adding the InfragisticsWPF4.Controls.Editors.XamComboEditor.v12.2 and the editor only for WPF could be used after adding InfragisticsWPF4.Editors.v12.2. Here you could find more information about the shared editor which allows multi selection and using checkboxes. I have attached a sample project where I have used the shared XamComboEditor and its CheckboxVisibility and AllowMultiSelection properties to display some values. I hope this will help you.
Please do not hesitate to ask if you have any other questions.
Well I think the issue is that I also have InfragisticsWPF4.Editors.v12.2.dll reference since I am using xamDataGrid. Also in the help under General Concepts->Assemblies->NetAdvantage Assemblies that dll is listed as deprecated but it is listed as a dependent of InfragisticsWPF4.DataPresenter.v12.2.dll. Which is not deprecated.
Hello,
As the shared controls do not have a theme property, the theme could not be set with setting the current theme. What you could do here is adding the themes for the shared controls as ResourceDictionary. Please have a look at the project I have attached. I have used two shared controls and the user could change the theme of the two controls by selecting different item from the XamComboEditor.
Please feel free to let me know if you have any other questions on the matter.
So basically I can't use the WPF themes to style the Shared controls. If so I have 2 choices rewrite whole application to only use shared controls or live without the features that are missing in the WPF controls. Otherwise then I will have to have different looking controls.
The WPF theme could be used to style the shared controls. In the project I have sent you before I have added them to the solution from the folder …\Infragistics\NetAdvantage 2012.2\WPF\Themes where they are located. Then I used them as resource dictionaries in order to apply them to the shared controls. The themes to the WPF controls are added using only the Theme property and there is no difference in the look of the shared and WPF controls.
I have modified the sample I have attached before. I added a WPF control – XamTabControl and set its theme property whenever a theme is chosen from the shared ComboBox. The themes are applied on both of the controls and are the same.
If you have any other questions on the matter, please do not hesitate to ask.
I am just checking if my last reply was helpful for you.
If you require any further assistance, please do not hesitate to ask.
Had other task priorities last week. Will take a look at it today.
I see what you mean. The background colors of the two controls are not the same if both have Office2010Blue theme applied but they are different controls even though they have the similar functionality. In order to set other background color to one of them, you could change the xaml file for the theme the control is using. It is located in the Infragistics folder.
I have logged a new product idea for having all WPF themes for the shared controls. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
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 product idea is PI12110040.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea 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.
There is styling diferences between Shared and WPF controls. For example Office2010Blue, WPF controls textbox background color is light blue where for the shared is white. See attachments.
Any plans to make those WPF Styles available for the shared controls?
Thank you for your feedback. The themes that could be applied on both WPF and Silverlight are the three that are in my previous example. Themes like Onyx, Office2k7Black, Aero, etc. are internally applied to the WPF controls and even if they are added as resource dictionaries, they will not take any effect on the shared controls.
Please do not hesitate to ask if you have any other questions on the matter.
In your previous post you said "The WPF theme could be used to style the shared controls", and in your example you just use the Shared Control themes (IG, Metro, Office2010Blue). Can you apply WPF control theme to the shared controls like Onyx, Office2k7Black, Aero, etc?