RadToolBar

Beispiel

Beispiel fĂĽr eine RadToolBar von Telerik:

<telerik:RadToolBar DockPanel.Dock="Top"
                        GripVisibility="Collapsed"
                        AutoHideOverflowButton="True"
                        HorizontalAlignment="Stretch">
        <telerik:RadButton Margin="2"
                           Command="{Binding CommandNew}">
            <telerik:RadButton.Content>
                <StackPanel Orientation="Horizontal">
                    <ContentControl ContentTemplate="{StaticResource IconNew}"
                                    Width="16"
                                    Height="16"
                                    Margin="0,0,4,0"></ContentControl>
                    <TextBlock VerticalAlignment="Center"
                               Text="{x:Static properties:Resources.MainWindow_Toolbar_New}"></TextBlock>
                </StackPanel>
            </telerik:RadButton.Content>
        </telerik:RadButton>

        <telerik:RadButton Margin="2"
                           Command="{Binding CommandOpen}">
            <telerik:RadButton.Content>
                <StackPanel Orientation="Horizontal">
                    <ContentControl ContentTemplate="{StaticResource IconOpen}"
                                    Width="16"
                                    Height="16"
                                    Margin="0,0,4,0"></ContentControl>
                    <TextBlock VerticalAlignment="Center"
                               Text="{x:Static properties:Resources.MainWindow_Toolbar_Open}"></TextBlock>
                </StackPanel>
            </telerik:RadButton.Content>
        </telerik:RadButton>
 </telerik:RadToolBar>


Datenschutzerklärung | Impressum