I am using RadRibbon view.In my Ribbonview some tabs are there.When Click on a tab a usercontrol will load dynamically.Inside this tab there is a ribbon group with abutton.When click this button in the group I trying to visible a panel in the usercontrol.But I didn't get the panel from the group button click.Can anyone help?
Thankd in advance
Here is my code
<telerik:RadRibbonTab x:Name="rtbDevice" Cursor="Hand" Header="Devices" FontFamily="Arial" FontWeight="Bold" Margin="0,1,0,0" >
<telerik:RadRibbonGroup Header="Actions" FontWeight="Normal" Margin="0,0,0,-3" Height="95" VerticalAlignment="Top" Width="192" DataContext="DeviceViewModel">
<telerik:RadRibbonButton LargeImage="/Images/add-user.png" Name="btnAddNewDevice" Command="{Binding ElementName=uctrlDeviceList, Path=DataContext.ShowPanelCmd}"
Size="Large" Text="New" Width="70" Cursor="Hand"
>
</telerik:RadRibbonButton>
<StackPanel Margin="0,0,0,-5">
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium"
SmallImage="/Images/Edit.png" Cursor="Hand"
telerik:ScreenTip.Description="Select datagrid row and click edit"
telerik:ScreenTip.Title="Edit" Command="{Binding EditDeviceCommand}"
Text="Edit" Height="19" />
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium" Margin="0,4,0,0"
SmallImage="/Images/Duplicate.png" Cursor="Hand"
telerik:ScreenTip.Description="Copy the selection and put it on the Clipboard."
telerik:ScreenTip.Title="Duplicate"
Text="Duplicate" Height="22" />
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium" Margin="0,5,0,0"
SmallImage="/Images/Delete.png" Cursor="Hand"
telerik:ScreenTip.Description="Copy formatting from one place and apply it to another.Double-click this button to apply the same formatting to multiple places in the document."
telerik:ScreenTip.Title="Delete"
Text="Delete" RenderTransformOrigin="0.452,0.909" Height="13" />
</StackPanel>
</telerik:RadRibbonGroup>
</telerik:RadRibbonTab>
Thankd in advance
Here is my code
<telerik:RadRibbonTab x:Name="rtbDevice" Cursor="Hand" Header="Devices" FontFamily="Arial" FontWeight="Bold" Margin="0,1,0,0" >
<telerik:RadRibbonGroup Header="Actions" FontWeight="Normal" Margin="0,0,0,-3" Height="95" VerticalAlignment="Top" Width="192" DataContext="DeviceViewModel">
<telerik:RadRibbonButton LargeImage="/Images/add-user.png" Name="btnAddNewDevice" Command="{Binding ElementName=uctrlDeviceList, Path=DataContext.ShowPanelCmd}"
Size="Large" Text="New" Width="70" Cursor="Hand"
>
</telerik:RadRibbonButton>
<StackPanel Margin="0,0,0,-5">
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium"
SmallImage="/Images/Edit.png" Cursor="Hand"
telerik:ScreenTip.Description="Select datagrid row and click edit"
telerik:ScreenTip.Title="Edit" Command="{Binding EditDeviceCommand}"
Text="Edit" Height="19" />
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium" Margin="0,4,0,0"
SmallImage="/Images/Duplicate.png" Cursor="Hand"
telerik:ScreenTip.Description="Copy the selection and put it on the Clipboard."
telerik:ScreenTip.Title="Duplicate"
Text="Duplicate" Height="22" />
<telerik:RadRibbonButton CollapseToSmall="WhenGroupIsMedium" Margin="0,5,0,0"
SmallImage="/Images/Delete.png" Cursor="Hand"
telerik:ScreenTip.Description="Copy formatting from one place and apply it to another.Double-click this button to apply the same formatting to multiple places in the document."
telerik:ScreenTip.Title="Delete"
Text="Delete" RenderTransformOrigin="0.452,0.909" Height="13" />
</StackPanel>
</telerik:RadRibbonGroup>
</telerik:RadRibbonTab>