<UserControl xmlns:swc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" x:Class="GraphicChart.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="auto" Height="auto">    
    <StackPanel Orientation="Horizontal" x:Name="MainStack">
        <StackPanel Orientation="Vertical" x:Name="StackButtons">

            <Button Width="20" Height="20" x:Name="FullScreenButton">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-full-screen.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="Prepni do zobrazenia na celú obrazovku" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>

            <Button Width="20" Height="20" x:Name="DisplayMenuButton">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-menu.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="Zobraz/Schovaj menu" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>

            <Button Width="20" Height="20" x:Name="ResetButton" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-reset.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="Reset všetkých grafov a dát" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>
            
            <Button Width="20" Height="20" x:Name="SaveButton" Margin="0,15,0,0" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-save.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="Uloženie grafu s aktuálnymi údajmi" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>
            
            <Button Width="20" Height="20" x:Name="LoadButton" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-load.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="Náčítanie grafu" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>            
            
            <Button Width="20" Height="20" x:Name="ZoomInButton" Margin="0,15,0,0" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-plus.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="ZOOM in" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>
            
            <Button Width="20" Height="20" x:Name="ZoomOutButton" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-minus.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="ZOOM out" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>
            
            <Button Width="20" Height="20" x:Name="ZoomResetButton" Visibility="Collapsed">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="Images/button-reset-zoom.png" >
                            <ToolTipService.ToolTip>
                                <ToolTip Content="ZOOM reset" ></ToolTip>
                            </ToolTipService.ToolTip>
                        </Image>
                    </ControlTemplate>
                </Button.Template>
            </Button>

        </StackPanel>
        <Grid x:Name="LayoutRoot">
            <Grid.RenderTransform>
                <ScaleTransform x:Name="scale" ScaleX="1" ScaleY="1" />
            </Grid.RenderTransform>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"></ColumnDefinition>
                <ColumnDefinition Width="auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
        </Grid>
    </StackPanel>
</UserControl>




