Control the OutlookBarItem location programmly

2 posts, 0 answers
  1. deng yingxin
    deng yingxin avatar
    2 posts
    Member since:
    Dec 2009

    Posted 04 Mar 2011 Link to this post

    OutlookBar has 20 OutlookBarItems.
    When enter the page, just display 3 items, others is placed in minimized zone.
    After the page load, user can display more or less items using mouse.
    How can i do?
  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 07 Mar 2011 Link to this post

    Hello deng yingxin,

    The property that fits best in your scenario is ActiveitemsMaxCount. You can use it like so:
    <telerik:RadOutlookBar x:Name="outlookBar" Width="200" Height="400"  ActiveItemsMaxCount="2" >
              <telerik:RadOutlookBarItem Header="Item 1" />
              <telerik:RadOutlookBarItem Header="Item 2" />
              <telerik:RadOutlookBarItem Header="Item 3" />
              <telerik:RadOutlookBarItem Header="Item 4" />
              <telerik:RadOutlookBarItem Header="Item 5" />
              <telerik:RadOutlookBarItem Header="Item 6" />
              <telerik:RadOutlookBarItem Header="Item 7" />
              <telerik:RadOutlookBarItem Header="Item 8" />
              <telerik:RadOutlookBarItem Header="Item 9" />
              <telerik:RadOutlookBarItem Header="Item 10" />
              <telerik:RadOutlookBarItem Header="Item 11" />
    Do not hesitate to ask if you need further assistance on this.

    Petar Mladenov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft R3 2016 release webinar banner
Back to Top