<Page
    x:Class="OtherControls.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:OtherControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid HorizontalAlignment="Left" Margin="124,113,0,0" VerticalAlignment="Top" Width="100">
            <!-- Listing 19-23 -->
            <Slider Minimum="0" Maximum="10" ValueChanged="OnSliderValueChanged" />

        </Grid>

        <Grid HorizontalAlignment="Left" Margin="124,263,0,0" VerticalAlignment="Top" Width="100">
            <!-- Listing 19-24 -->
            <ListBox>
                <ListBoxItem Content="Pierwszy element" />
                <ListBoxItem Content="Drugi element" HorizontalContentAlignment="Right" />
            </ListBox>
        </Grid>
    </Grid>
</Page>
