hello to all, a newbie question.
i want to create a ribbon control similar to office.
i can't start the application and it's crashes all the time, there is no additional code behind yet.
when i run the software i getting error:
Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll
Additional information: The invocation of the constructor on type 'Telerik.Windows.Controls.RibbonView.Primitives.RadRibbonApplicationDropDownButton' that matches the specified binding constraints threw an exception.
the code:
<Window x:Class="Xcalibur2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Xcalibur2"
mc:Ignorable="d"
Title="MainWindow" Height="800" Width="1280">
<Grid>
<Grid.Background>
<ImageBrush Stretch="Fill" ImageSource="../graphic/background/background.jpg" AlignmentY="Top" AlignmentX="Center"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="5*"/>
<RowDefinition Height="0.3*"/>
</Grid.RowDefinitions>
<!-- ribbon container -->
<telerik:RadRibbonView>
<telerik:RadRibbonTab Header="test">
<telerik:RadRibbonGroup Header="group1">
<telerik:RadRibbonRadioButton Name="radBtn1" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn2" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn3" Text="Button3" />
</telerik:RadRibbonGroup>
<telerik:RadRibbonGroup Header="group2">
<telerik:RadRibbonRadioButton Name="radBtn4" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn5" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn6" Text="Button3" />
</telerik:RadRibbonGroup>
<telerik:RadRibbonGroup Header="group3">
<telerik:RadRibbonRadioButton Name="radBtn7" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn8" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn9" Text="Button3" />
</telerik:RadRibbonGroup>
</telerik:RadRibbonTab>
<telerik:RadRibbonTab Header="Test 2">
<telerik:RadRibbonGroup Header="group1">
<telerik:RadRibbonRadioButton Name="radBtn21" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn22" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn23" Text="Button3" />
</telerik:RadRibbonGroup>
<telerik:RadRibbonGroup Header="group2">
<telerik:RadRibbonRadioButton Name="radBtn24" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn25" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn26" Text="Button3" />
</telerik:RadRibbonGroup>
<telerik:RadRibbonGroup Header="group3">
<telerik:RadRibbonRadioButton Name="radBtn27" Text="Button1" />
<telerik:RadRibbonRadioButton Name="radBtn28" Text="Button2" />
<telerik:RadRibbonRadioButton Name="radBtn29" Text="Button3" />
</telerik:RadRibbonGroup>
</telerik:RadRibbonTab>
</telerik:RadRibbonView>
<!-- info gauge -->
<Grid Grid.Row="1" Name="gridInfo">
</Grid>
<!-- data container -->
<Grid Grid.Row="2" Name="dataContainer">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
</Grid>
<!-- status bar -->
<Grid Name="StatusBar">
</Grid>
</Grid>
</Window>