Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
925
Using SeparatorTool
posted

Hi,

 

how can I use the separator tool? When I add a ButtonTool, SeparatorTool and another ButtonTool, the ribbon control raise an error. Is this a bug?

Here ist the Xaml:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<

 

 

 

UserControl x:Class

="SilverlightApplication3.MainPage"

 

 

 

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:mc

="http://schemas.openxmlformats.org/markup-compatibility/2006"

 

 

 

xmlns:igRibbon

="http://schemas.infragistics.com/xaml"

 

 

 

mc:Ignorable

="d"

 

 

 

d:DesignHeight="300" d:DesignWidth="400" xmlns:sdk

="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

 

 

 

 

 

<Grid x:Name="LayoutRoot" Background

="White">

 

 

 

 

<igRibbon:XamRibbon Name="ribbon" HorizontalAlignment="Stretch" VerticalAlignment

="Top" >

 

 

 

 

<igRibbon:XamRibbon.Tabs

>

 

 

 

 

<igRibbon:XamRibbonTabItem

>

 

 

 

 

<igRibbon:XamRibbonTabItem.Groups

>

 

 

 

 

<igRibbon:XamRibbonGroup

>

 

 

 

 

<igRibbon:XamRibbonGroup.Tools

>

 

 

 

 

<igRibbon:ButtonTool Caption

="Test"/>

 

 

 

 

<igRibbon:SeparatorTool

/>

 

 

 

 

<igRibbon:ButtonTool Caption

="Test"/>

 

 

 

 

</igRibbon:XamRibbonGroup.Tools

>

 

 

 

 

 

</igRibbon:XamRibbonGroup

>

 

 

 

 

</igRibbon:XamRibbonTabItem.Groups

>

 

 

 

 

</igRibbon:XamRibbonTabItem

>

 

 

 

 

</igRibbon:XamRibbon.Tabs

>

 

 

 

 

</igRibbon:XamRibbon

>

 

 

 

 

</Grid

>

</

 

 

 

UserControl

>

 

 

Regards

Marco