Hi Team,
I have a requirement where in I need to dynamically load the user controls as Tab pages,I request a sample application for this.
Also , is there a specific styling file for MetroDark theme. If yes,Please share the file as I was not able to find that in our Infragistics package
Hello Raj,
You can set the Content property of the TabItemEx to the UserControl.
See attached sample.
Also, you can find most of the style files for the MetroDark theme under the following directory: C:\Program Files (x86)\Infragistics\2014.2\WPF\Themes\MetroDark. I am also attaching the Primitives styles which contains the parts for the XamTabControl. Please note if you include this in your application you will need to change the igWindows and controls namespaces to the typical ig WPF namespace http://schemas.infragistics.com/xaml/wpf.
Let me know if you have any questions.
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
Adding second attachment for styles.
Hello Team,
Thank you the solutions which you have sent .
In the MetroDark theme folder I did not find anything related to XamTabControl .
Request you to send the solutions in VS2010 format.Since we don't have higher versions.
Regards
Raj
As I mentioned previously the second attachment I sent originally contains the MetroDark styles for the XamTabControl.
I am attaching the original sample in VS2010.
Please let me know if you have any questions.
Using the Selected event throws a design time exception: "Error 2 'Infragistics.Windows.Controls.XamTabControl' does not contain a definition for 'Selected' and no extension method 'Selected' accepting a first argument of type 'Infragistics.Windows.Controls.XamTabControl' could be found (are you missing a using directive or an assembly reference?) "
not sure why though...it's all set from intellisense.
This was a helpful post. In my scenario, the tab control's ItemsSource property is bound to the ViewModel. I can see the TabItemEx objects being created but for the life of me I am not seeing what event to raise to add the user control to the TabItemEx. Any suggestions? Using code behind is fine.
Thank you :)
Do you have any other questions on this matter?