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 ?
Thanks,
Ivan
2 Answers, 1 is accepted
0
Kiril Stanoev
Telerik team
answered on 26 Sep 2009, 11:42 AM
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.
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 !