HI
Does anyone know how or if there is a method of creating a shallow copy of a ribbon tab item ? (other than rolling my own)
Cheers
Andy
There is no such method within the xamRibbon assembly.
Hi Andrew
Please ignore my last post about reflection - I've just sorted it by using the instance - i.e:
PropertyInfo[] props = l_tab.GetType().GetProperties();
thanks
Thanks for the quick reply Andrew - much appreciated.
I was just looking at rolling my own shallow copier and I though one good way would be to use reflection to get the public properties. Trouble is - I can't seem to reflect on the ribbon tab item type. Do you know if this has been intentionally locked down or am I missing a trick? - here's my code:
Type MyType = Type.GetType("Infragistics.Windows.Ribbon.RibbonTabItem");
PropertyInfo[] Mypropertyinfo = MyType.GetProperties();
cheers