Select to view content in your preferred language

TabbedRibbon Tab/Pin the Toolbar on Start up

487
1
Jump to solution
08-21-2012 12:51 PM
DavidAshton
Frequent Contributor
Using TabbedRibbon template can someone tell me how I would Tab/Pin the Toolbar on Start up?

Thanks
David
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor
Using TabbedRibbon template can someone tell me how I would Tab/Pin the Toolbar on Start up?


In TabRibbon.xaml.cs set isPinned to true instead of false.
And in OnApplyTemplate, call RibbonExpand.Begin() if isPinned is true:

if (RibbonExpand != null) {     RibbonExpand.Completed += RibbonExpand_Completed;     if (isPinned)         RibbonExpand.Begin(); }

View solution in original post

0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Using TabbedRibbon template can someone tell me how I would Tab/Pin the Toolbar on Start up?


In TabRibbon.xaml.cs set isPinned to true instead of false.
And in OnApplyTemplate, call RibbonExpand.Begin() if isPinned is true:

if (RibbonExpand != null) {     RibbonExpand.Completed += RibbonExpand_Completed;     if (isPinned)         RibbonExpand.Begin(); }
0 Kudos