I am developing an application and I am using from some libraries, the Ribbon of Microsoft. At one point, I carried the information on the component, but can not seem to set the initial value. Follows the code:
<r:RibbonComboBox
x:Name="rcbFontFamily"
SelectionBoxWidth="160"
IsEditable="True">
<r:RibbonGallery
Name="_rgFontFamily"
ScrollViewer.VerticalScrollBarVisibility="Visible"
Command="{StaticResource FontFamilyHandler}">
<r:RibbonGalleryCategory
Name="_rgcFontFamily"
ItemsSource="{Binding Source={x:Static Fonts.SystemFontFamilies}}"/>
</r:RibbonGallery>
</r:RibbonComboBox>
I can set the value by mouse click, but I can not bring the combobox with an initial value. How to do this?