AccessText not handled correctly in RadOutlookBar

3 posts, 0 answers
  1. 4ward s.r.l.
    4ward s.r.l. avatar
    25 posts
    Member since:
    Jun 2007

    Posted 25 Sep 2009 Link to this post

    If AccessText is used as header of RadOutlookBarItem it works corretly, but the header in the RadOutlookBar is wrongly defined as System.Windows.Controls.AccessText (standard ToString), will you support AccessText there ?


  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 26 Sep 2009 Link to this post

    Hi Ivan,

    Thank you for the valuable feedback. We will make sure to handle the AccessText scenario. Before that, however, I'd like to ask what would you expect to see in the Title area of RadOutlookBar when you set an AccessText as a header to a RadOutlookBarItem.
    Currently the problem arises from the fact that AccessText is a FrameworkElement and as such it cannot exist on 2 places in the VisualTree i.e. cannot be a content to both the Header and the Title. That is the reason why you see the AccessText displayed correctly in RadOutlookBarItem's Header and not in the Title area.
    Your feedback would be highly appreciated.

    All the best,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. 4ward s.r.l.
    4ward s.r.l. avatar
    25 posts
    Member since:
    Jun 2007

    Posted 26 Sep 2009 Link to this post

    I think that Text of AccessText without "_" chars can be a good solution, this can be useful when same object used to described a MenuItem is used to create an OutlookBar (our scenario) so that users is able to choose layout and developers are able to support different kind of controls easily. Mine is only a suggestion, the other workaround is override of ToString of AccessText to do the same.

    Q3 Beta is really full of new useful additions, keep up the good work !
Back to Top