This is a migrated thread and some comments may be shown as answers.

SIlverlight Report Viewer Toolbar - add Buttons

0 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 13 Sep 2010, 05:07 PM
Hello,

I update the default style of the Silverlight Report Viewer.
I Added three new Buttons to the Toolbar.

<telerik:RadButton Command="{Binding ZoomInCommand}" Margin="0,2" Padding="2">
        <Image Width="16" Height="16"  Source="{StaticResource ZoomIn}" />
</telerik:RadButton>

<telerik:RadButton Command="{Binding ZoomOutCommand}" Margin="0,2" Padding="2">
        <Image Width="16" Height="16"  Source="{StaticResource ZoomOut}" />
</telerik:RadButton>

<telerikNavigation:RadToolBarSeparator />

<telerik:RadButton Command="{Binding CloseCommand}" Margin="0,2" Padding="2">
<Image Width="16" Height="16" Source="{StaticResource Close}" />
</telerik:RadButton>

Unfortunately I am not sure how the create a new Property to bind this new command. (e.g.CloseCommand).
Basically I like to bind this command the my ViewModel.

How can I do this?

Thanks,
Manuel

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Manuel
Top achievements
Rank 1
Share this question
or