Hello, I downloaded 2013_2_0729 hotfix and RadRibbionView doesn't work as before.
I'm using the below code (called from the OnContentRendered event of RadRibbonWindow).
_mainRibbon is a RadRibbonView instance and each tab in _mainRibbon is dynamically created.
This code worked fine in former versions, but after applying 2013_2_0729 hotfix, NullExceptionError occurrs in _mainRibbon.Visibility = Visibility.Visible;. Can this be fixed?
private void createFeatures()
{
List<IPluginFactory> featureFactories = PluginManager.Instance.GetFactories(typeof(IFeatureFactory));
foreach (IPluginFactory factory in featureFactories)
{
// Providing callback (delegate) to create any number of FeatureWindows from the feature
IFeature feature = (factory as IFeatureFactory).Create(_mainRibbon, createFeatureWindow, create3DWindow);
}
_mainRibbon.SelectedIndex = 0;
_mainRibbon.Visibility = Visibility.Visible;
}