When i create a usercontrol that must be used inside a ribbonbar,
the separator is not shown??? copiyng the grid part into the ribbonbar itself does show the separator.
the separator is not shown??? copiyng the grid part into the ribbonbar itself does show the separator.
<UserControl x:Class="RibbonPageElement"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:res="http://schemas.nds.eu/Resources"
xmlns:nds="http://schemas.nds.eu/Controls"
xmlns:commands="clr-namespace:NetDisplaySystems.PADS.Applications.Designer"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<ribbon:Button Grid.Column="0" VariantSize="Large"></ribbon:Button>
<ribbon:Separator Grid.Column="1" ></ribbon:Separator>
<ribbon:Button Grid.Column="2" VariantSize="Large"></ribbon:Button>
</Grid>
</UserControl>