Does anyone have ane example of to add a treeview to the outlookbar using code? (not in the xaml?)
This does not seem to work:
This does not seem to work:
public MainPage()
{
InitializeComponent();
RadOutlookBarItem item = new RadOutlookBarItem();
item.Header = "Documents";
item.Content = "Documents";
item.IsSelected = true;
RadCalendar calendar = new RadCalendar();
(obOutlookBar.SelectedItem as RadOutlookBarItem).Content = calendar;
}