<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <!--
        <StackPanel>
            <Slider x:Name="csuszka1" Width="100" Value="50" Minimum="10" Maximum="100"></Slider>
            <Image Source="/fallen.jpg" Height="{Binding ElementName=csuszka1, Path=Value}" Width="{Binding ElementName=csuszka1, Path=Value}"></Image>
        </StackPanel>
       -->
        <!--
        <TreeView>
            <TreeViewItem Header="Női nevek">
                <TreeViewItem Header="Éva"></TreeViewItem>
                <TreeViewItem Header="Krisztina"></TreeViewItem>
                <TreeViewItem Header="Mária"></TreeViewItem>
            </TreeViewItem>
            <TreeViewItem Header="Férfi nevek">
                <TreeViewItem Header="Gábor"></TreeViewItem>
                <TreeViewItem Header="Áron"></TreeViewItem>
                <TreeViewItem Header="Csaba"></TreeViewItem>
            </TreeViewItem>
        </TreeView>
        -->
        <Menu Height="25" VerticalAlignment="Top">
            <MenuItem Header="_Fájl" Click="MenuItem_Click">
                <MenuItem Header="_Új" InputGestureText="Ctrl+N">
                    <MenuItem.ToolTip>
                        <ToolTip>Új dokumentum</ToolTip>
                    </MenuItem.ToolTip>
                    <MenuItem.Icon>
                        <Image Source="/fallen.jpg" Width="20" Height="20"></Image>
                    </MenuItem.Icon>
                    <MenuItem Header="_Projekt..."></MenuItem>
                    <MenuItem Header="_Weboldal..."></MenuItem>
                </MenuItem>
                <MenuItem Header="_Megnyitás" Command="ApplicationCommands.Open">
                    <MenuItem.Icon>
                        <Image Source="/fallen.jpg" Width="20" Height="20"></Image>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="_Mentés" Command="ApplicationCommands.Save">
                    <MenuItem.Icon>
                        <Image Source="/fallen.jpg" Width="20" Height="20"></Image>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="_Mentés másként" Command="ApplicationCommands.Save">
                    <MenuItem.Icon>
                        <Image Source="/fallen.jpg" Width="20" Height="20"></Image>
                    </MenuItem.Icon>
                </MenuItem>
                <Separator></Separator>
                <MenuItem Header="_Nyomtatás">
                    <MenuItem.Icon>
                        <Image Source="/fallen.jpg" Width="20" Height="20"></Image>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="Kilépés" Click="kilepes_Click">
                    
                </MenuItem>
            </MenuItem>
            <MenuItem Header="_Szerkesztés">
                <MenuItem Header="_Visszavonás"></MenuItem>
                <MenuItem Header="_Kivágás"></MenuItem>
                <MenuItem Header="_Másolás" Command="ApplicationCommands.Copy"></MenuItem>
                <MenuItem Header="_Beillesztés"></MenuItem>
            </MenuItem>
            <MenuItem Header="Súgó">
                <MenuItem Header="Programról" Click="programrol_Click"></MenuItem>
            </MenuItem>
        </Menu>
        <StackPanel>
            <Slider x:Name="csuszka1" Width="100" Value="50" Minimum="10" Maximum="500"></Slider>
            <Image Source="/fallen.jpg" Height="{Binding ElementName=csuszka1, Path=Value}" Width="{Binding ElementName=csuszka1, Path=Value}"></Image>
        </StackPanel>
        <StackPanel VerticalAlignment="Bottom">
            <Slider x:Name="csuszka2" Width="100" Value="180" Minimum="0" Maximum="360"></Slider>
            <Image Source="/fallen.jpg" Width="200">
                <Image.RenderTransform>
                    <RotateTransform Angle="{Binding ElementName=csuszka2, Path=Value}" />
                </Image.RenderTransform>
            </Image>
        </StackPanel>
    </Grid>
</Window>
