is designed so it shows the content of the selected item like you already mentioned. As far as I understand you need to prevent the selection of RadOutlookBarItem
when the RadOutlookBar
is in Minimized
state and the content of that item is a RadTreeView
control. In order to achieve this you can subscribe to the PreviewSelectionChanged
event of the RadOutlookBar
and in its handler you can mark the event as handled if the conditions are fulfilled. You can use the following snippet:
sender, RadSelectionChangedEventArgs e)
By following this approach you will be allowed to select the item containing RadTreeView
only when the RadOutlookBar
is not in minimized state.
Please give this approach a try and let me know if it works for you.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>