滑动控件-FlipView

时间:2022-05-26 01:49:54

<Grid>
            <FlipView>
                <FlipView.Items>
                    <FlipViewItem>
                        <Grid>
                            <Image Stretch="Fill" Source="/image/IMG_4.png" Margin="0,-1,0,1"></Image>
                            <!--<TextBox x:Name="textBox" TextWrapping="Wrap" Text="&gt;&gt;" VerticalAlignment="Top"/>-->
                            <Button x:Name="button_record" Content="back"    Click="button_back_Click" Height="60" Width="80" Margin="159,293,0,7" />
                            <Button x:Name="button_check" Content="home"  Click="button_home_Click" Height="60" Width="80" Margin="239,294,0,6" />
                            <Button x:Name="button_empty" Content="search"  Click="button_search_Click" Height="60" Width="80" Margin="319,294,0,6"/>
                            <Button x:Name="button_voldown" Content="vol-" Click="button_voldown_Click" Height="60" Width="80" Margin="321,202,0,98" />
                            <Button x:Name="button_volup" Content="vol+" Click="button_volup_Click" Height="60" Width="80" Margin="321,142,0,158" />
                            <Button x:Name="button_f11" Content="F11" Click="button_f11_Click" Height="60" Width="80" Margin="161,142,0,158" />
                            <Button x:Name="button_f12" Content="F12"  Click="button_f12_Click" Height="60" Width="80" Margin="241,142,0,158" />
                            <Button x:Name="button_power" Content="power" Click="button_power_Click" Height="60" Width="80" Margin="161,202,0,98" />
                            <Button x:Name="button_sleep" Content="sleep" Click="button_sleep_Click" Height="60" Width="80" Margin="241,202,0,98" />
                            <Button x:Name="button_dev_on" Content="Projector On/Off" Click="button_dev_onoff_Click" Height="60" Width="135" Margin="417,143,0,157" />
                            <!--<Button x:Name="button_dev_off" Content="Projector_Off" Click="button_dev_off_Click" Height="60" Width="119" Margin="417,203,0,97" />-->
                        </Grid>
                    </FlipViewItem>
                    <FlipViewItem>
                        <Grid>
                            <Image Stretch="Fill" Source="/image/IMG_4.png"></Image>
                            <Button Name="button1" Click="button1_Click" Background="Transparent" Height="47" Width="47" Margin="100,128,0,125" >
                                <Image Source="image/a1.png" Stretch="Fill" Margin="-16,-14,-19,-11"></Image>
                            </Button>

<Button Width="40" Height="40" Click="Button_Click" Background="Transparent" Margin="247,131,0,129">
                                <Image Stretch="Fill" Source="image/a2.png" Margin="-19,-16,-20,-15"></Image>
                            </Button>
                        </Grid>
                    </FlipViewItem>
                    <FlipViewItem>
                        <Image Stretch="Fill" Source="/image/IMG_1.png"></Image>
                    </FlipViewItem>
                    <FlipViewItem >
                        <Image Stretch="Fill" Source="/image/IMG_2.png"></Image>
                    </FlipViewItem>
                    <FlipViewItem>
                        <Image Stretch="Fill" Source="/image/IMG_3.png"></Image>
                    </FlipViewItem>

</FlipView.Items>

</FlipView>
        </G