<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Themes/OfficeBlack/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="Themes/OfficeBlack/Telerik.Windows.Controls.Input.xaml" />
<ResourceDictionary Source="Themes/OfficeBlack/Telerik.Windows.Controls.Navigation.xaml" />
<ResourceDictionary Source="Themes/OfficeBlack/Telerik.Windows.Controls.RibbonView.xaml" />
</ResourceDictionary.MergedDictionaries>
I also referenced the corresponding dlls from the installation directory:
C:\Program Files (x86)\Telerik\RadControls for WPF Q3 2012\Themes.Implicit\WPF40\Metro\Themes
The program compiles and runs OK.
The problem is that the xaml designer has the following error
System.ArgumentException
'{DependencyProperty.UnsetValue}' is not a valid value for the 'Telerik.Windows.Controls.RadRibbonGallery.Icon' property on a Setter.
The stack Trace indicates that the error takes place in the expression designer. This error is listed 3 times.
There are no errors in the xaml code or in the vb.net code
That same error occurs for several of the themes that I have tried (Windows8, windows7, OfficeBlue, OfficeBlack)
The markup for window that I am designing does not use the radRibbonView, nor does it use the RadRibbonGallery.
When I remove the following line from the application Xaml ResourceDictionary merge:
<ResourceDictionary Source="Themes/OfficeBlack/Telerik.Windows.Controls.RibbonView.xaml">
the errors disappear.
Do you have a bug in the RibbonView.xaml?
Thanks for your help in solving this
Thanks
Philippe
Message: Object reference not set to an instance of an object.
Source: Telerik.Windows.Controls.GridView
Trace: at Telerik.Windows.Automation.Peers.GridViewGroupRowAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
<telerik:RadMap> <telerik:RadMap.Resources> <DataTemplate x:Key="pointTemplate"> <Grid telerik:MapLayer.Location="{Binding location}" telerik:MapLayer.HotSpot="{Binding imageHotSpot}" Margin="0" > <Image x:Name="pointImage" Source="{Binding imageUri}" MouseLeftButtonDown="selectMapPoint" Height="24" Width="24" Margin="0" /> <!-- We shift the bubble over a bit by half the size of the image --> <Border Margin="0"> <Border.RenderTransform> <TranslateTransform X="{Binding ElementName=pointImage, Path=ActualWidth, Converter={StaticResource scalingConverter}, ConverterParameter=0.5}" Y="{Binding ElementName=pointImage, Path=ActualHeight, Converter={StaticResource scalingConverter}, ConverterParameter=-0.5}" /> </Border.RenderTransform> <!-- And then by half the size of the bubble --> <Border x:Name="bubbleBorder" BorderBrush="Black" BorderThickness="2" CornerRadius="4" Background="White" Padding="2" Margin="0" MouseLeftButtonDown="selectBubble" > <Border.RenderTransform> <TranslateTransform X="{Binding ElementName=bubbleBorder, Path=ActualWidth, Converter={StaticResource scalingConverter}, ConverterParameter=0.5}" Y="{Binding ElementName=bubbleBorder, Path=ActualHeight, Converter={StaticResource scalingConverter}, ConverterParameter=-0.5}" /> </Border.RenderTransform> <Label Content="{Binding ticketVM.jobRec.jobid}" /> </Border> </Border> </Grid> </DataTemplate> </telerik:RadMap.Resources> <telerik:InformationLayer x:Name="informationLayer" ItemsSource="{Binding mapElements}" ItemTemplate="{StaticResource pointTemplate}" /></telerik:RadMap>