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
1805
IsSelected property not working
posted

Folks,

I have 4 tabs in Ribbon control and i want tab2 to be selected when application loads.

I have disabled isselected property in tab1 and enabled in tab2. but still no show. my code is below.

<igRibbon:XamRibbon Name="xamRibbon1"
                                Height="154"
                                Margin="0,-2,1,0"
                                VerticalAlignment="Top"
                                Theme="Office2k7Black">
                <igRibbon:XamRibbon.ApplicationMenu>
                    <igRibbon:ApplicationMenu />
                </igRibbon:XamRibbon.ApplicationMenu>
                <igRibbon:XamRibbon.QuickAccessToolbar>
                    <igRibbon:QuickAccessToolbar />
                </igRibbon:XamRibbon.QuickAccessToolbar>
                <igRibbon:RibbonTabItem Header="File" IsSelected="False">
                    <igRibbon:RibbonGroup Caption="RibbonGroup" />
                </igRibbon:RibbonTabItem>
                <igRibbon:RibbonTabItem Header="Connect" IsSelected="True">
                    <igRibbon:RibbonGroup Width="356" Caption="XDS Connection">
                        <igRibbon:ComboEditorTool HorizontalAlignment="Right"
                                                  VerticalAlignment="Stretch"
                                                  Caption="Program :" />
                        <igRibbon:SeparatorTool />
                        <igRibbon:TextEditorTool HorizontalAlignment="Right" Caption="IP Address" />
                        <igRibbon:TextEditorTool HorizontalAlignment="Right"
                                                 Caption="Port :"
                                                 EditAreaWidth="30" />
                        <igRibbon:ButtonTool HorizontalAlignment="Right" Caption="Connect" />
                    </igRibbon:RibbonGroup>
                </igRibbon:RibbonTabItem>
                <igRibbon:RibbonTabItem Header="Tools" />
                <igRibbon:RibbonTabItem Header="Help" />
            </igRibbon:XamRibbon>