Dears, I'm not able to bind the selecteditem of a Ribbon DropDownButton.
My source code is the following:
<syncfusion:DropDownButton Label="Strategy" ItemsSource="{Binding StrategyList}" DisplayMemberPath="Text" AllowDrop="True" Name="dd_strategy" SizeForm="Large" LargeIcon="/Images/StrategyLarge.png" />
Items are filled in correctly, but I do not understand how to get the selected item.
In similar way I created a Combobox and for this the SelectedItem event is available so everything works fine.
<syncfusion:RibbonComboBox ItemsSource="{Binding StrategyList}" SelectedItem="{Binding StrategySelectedItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" x:Name="cmb_Strategy" Margin="0,0,6,0" Width="140">
<syncfusion:RibbonComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Text}" Padding="5" Height="20"/>
</StackPanel>
</DataTemplate>
</syncfusion:RibbonComboBox.ItemTemplate>
</syncfusion:RibbonComboBox >
How to do the same with DropDownButton?
Thank you very much for support.
Gianpietro