Hi,
I need to populate the dropdown menu available at the bottom of the Radoutlooktoolbar. The idea is to provide menus and submenus when the user clicks the dropdown menu (the small inverted triangle) currently am totally unable to do that. I used ItemDropDownContentTemplate to accomplish this. I used the following code snippet.
I am successfully able to populate the Itemtemplate,Content template and the Title templates however the ItemDropdownContentTemplate is the missing link.
Bartemplate is something like below:
Note:This template works fine in Titletemplate, ItemTemplate. Have no clue why it is not working in ItemDropdownContentTemplate. Kindly advise me where am wrong. Also let me know if there is anyother way to accomplish my requirements. This is rather urgent I need to do this ASAP.
-Kaarthik(skmit87@gmail.com)
I need to populate the dropdown menu available at the bottom of the Radoutlooktoolbar. The idea is to provide menus and submenus when the user clicks the dropdown menu (the small inverted triangle) currently am totally unable to do that. I used ItemDropDownContentTemplate to accomplish this. I used the following code snippet.
<
telerik:RadOutlookBar x:Name="RadOutlookBar1"
MaxWidth="760" ItemsSource="{Binding}"
ItemTemplate="{StaticResource BarTemplate}"
ContentTemplate="{StaticResource redefineoutlook}"
TitleTemplate="{StaticResource BarTemplate}"
Margin="0,0,330,0" ItemDropDownContentTemplate="{StaticResource BarTemplate}">
I am successfully able to populate the Itemtemplate,Content template and the Title templates however the ItemDropdownContentTemplate is the missing link.
Bartemplate is something like below:
<DataTemplate x:Key="BarTemplate" >
<TextBlock Text="{Binding Path=A}" FontWeight="Bold" />
</DataTemplate>
Note:This template works fine in Titletemplate, ItemTemplate. Have no clue why it is not working in ItemDropdownContentTemplate. Kindly advise me where am wrong. Also let me know if there is anyother way to accomplish my requirements. This is rather urgent I need to do this ASAP.
-Kaarthik(skmit87@gmail.com)