WPF控件环绕问题 [英] WPF controls wrap around problem

查看:65
本文介绍了WPF控件环绕问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为WPF Windows应用程序创建一个UI主页,该应用程序包含一个主页屏幕,该屏幕包含具有指向后续表单的链接的按钮.但是os屏幕的数量非常大,而按钮也是如此,因此它们不适合所需的屏幕区域.尽管我们使用的是环绕式面板,但它们仍会离开屏幕的边框,请您帮忙.我们被卡住.如果有人可以提供帮助,我准备共享代码.

这是主屏幕的XAML代码

We are creating a UI home page for our WPF windows applications the app contains a home page screen which contains button having links to subsequent forms . but the number os screens are very large and so are the butons so they dont fit into the desired screen area. although we are using wrap panels they still go out side the boudary of the screen some body please help. we are stuck. i am ready to share the code if some one is capable of helping.

HEre is the XAML code of the home screen

"xml"><Window x:Class="Window1"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="Institute Management System - Codegen Technologies Pvt. Ltd. - www.codegen technologies.com info@codegentechnologies.com" Height="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Visible" Width="Auto">
<WrapPanel>
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="Black" Offset="0"/>
                <GradientStop Color="White" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="Auto"  />
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0"  >
            <Button ><Label Grid.Row="0" Grid.Column="0" Width="90">
    <Label.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="Black" Offset="0"/>
            <GradientStop Color="White" Offset="1"/>
        </LinearGradientBrush>
    </Label.Background>Admissions</Label></Button>
            <Button><Label Grid.Row="0" Grid.Column="0" Width="90">
    <Label.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="Black" Offset="0"/>
            <GradientStop Color="White" Offset="1"/>
        </LinearGradientBrush>
    </Label.Background>Receptions</Label>
</Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Fee Manager</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Library</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Transport</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Atendance</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Accounts</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Inventory</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Examinations</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>System Setup</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>User Management</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Reports</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Alerts</Label>
            </Button>
            <Button>
                <Label Grid.Row="0" Grid.Column="0" Width="90">
                    <Label.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Label.Background>Document Manager</Label>
            </Button>
        </StackPanel>
        <StackPanel  Grid.Column="2" Grid.Row="1" HorizontalAlignment="Stretch" >
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Stretch" >Admissions Module</Label>
            </WrapPanel>
                <WrapPanel Width="Auto" Height="Auto" HorizontalAlignment="Stretch">
                    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\student.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Admissions"/>
                    </WrapPanel>
                    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50"   Margin="10">
                            <Image Source="images\notes.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Edit Profile"/>
                    </WrapPanel>
                    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\transfer.gif"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Transfer Registerations"/>
                    </WrapPanel>
                    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\balance.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Admissions Report" />
                    </WrapPanel>
                    <WrapPanel Width="106" Height="100" >
                        <Button Style="{StaticResource GlassButton}" HorizontalAlignment="Center" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image HorizontalAlignment="Center" Source="images\signout.png"/>
                        </Button>
                        <Label Background="#00D21717" HorizontalAlignment="center" Foreground="Aquamarine" Content="Cancel Admissions"/>
                    </WrapPanel>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Reception Module</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto" >
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\personnel.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="New Inquiry"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\notes.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Follow Up"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\search.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Inquiry"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\devicecontrol.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Phone Book"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\personnel.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Contact Search"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\manageusers.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Registeration"/>
                    </WrapPanel>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Fees Module</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto" >
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\64dollar.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Fee Reciept"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\print.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Print Reciept"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\entertainment.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Discounts"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\folder.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Installments"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\downloads.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Accounts Posting"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\downloads.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Refunds"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\invoicesearch.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Reciept"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Collections Report"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Head Wise Collection"/>
                    </WrapPanel>
            </WrapPanel>
            <WrapPanel  >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Library Module</Label>
            </WrapPanel>
            <ScrollViewer>
            <StackPanel Width="Auto" Height="Auto" ScrollViewer.HorizontalScrollBarVisibility="Visible" ClipToBounds="False" Orientation="Horizontal" ScrollViewer.VerticalScrollBarVisibility="Visible">
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue To Student"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue To Staff"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Deopsit"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Books"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Authors"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Subjects"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Books"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Track Students"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Barcodes"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Settings"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Fine"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue Book Report"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="CD/Dvds"/>
                    </WrapPanel>
            </StackPanel>
            </ScrollViewer>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Attendance</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Employee Attendance"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Student Attendance"/>
                    </WrapPanel>
    <WrapPanel Width="80" Height="100" >
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10">
                            <Image Source="images\erp.png"/>
                        </Button>
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Employee Attendance Report"/>
                    </WrapPanel>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Employee Attendance Report</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Periodical Employee Attendance</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Search Attendance</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Promote</Button>
                <Button>Date Wise Lectures</Button>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Transport</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Registeration</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Maintenance</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Pay Transport Fee</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Create Vehicle</Button>
                    <Button>
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="White" Offset="0"/>
                                <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                            </LinearGradientBrush>
                        </Button.Background>Search Attendance</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Transport Attendance</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Route Report</Button>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Accounts</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Reciept</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Payment</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Journal</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Ledgers</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Party Statement</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Trial Balance</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Debtors/Creditors List</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Account Groups</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Cash Book</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Bank Book</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Profit and Loss</Button>
                <Button>Balance Sheet</Button>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >HR</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>New Joining</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Salary Generation</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Payout Report</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Employee Payments</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Salary Slips</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Resignation</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Edit Employee</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Salary Configuration</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Loans</Button>
                <Button>Deductions</Button>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >User Manager</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Change Password</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Create User</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Priviledges</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Roles</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Deactivate User</Button>
            </WrapPanel>
            <WrapPanel >
                <Label Background="Brown" Foreground="White"

HorizontalContentAlignment="Center" >Reports</Label>
            </WrapPanel>
            <WrapPanel Width="Auto" Height="Auto">
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Admissions Report</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Fee Collections</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Student Ledger</Button>
                <Button >
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Employee Salary</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Day Book</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Village Wise</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Referral Wise</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Party History</Button>
                <Button>
                    <Button.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/>
                        </LinearGradientBrush>
                    </Button.Background>Students Search</Button>
            </WrapPanel>
        </StackPanel>
    </Grid>
</WrapPanel>
</Window>

推荐答案

<br />
<pre lang="xml"><Window x:Class="Window1"<br />
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br />
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />
    Title="Institute Management System - Codegen Technologies Pvt. Ltd. - www.codegen technologies.com info@codegentechnologies.com" Height="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Visible" Width="Auto"><br />
<WrapPanel><br />
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"><br />
        <Grid.Background><br />
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                <GradientStop Color="Black" Offset="0"/><br />
                <GradientStop Color="White" Offset="1"/><br />
            </LinearGradientBrush><br />
        </Grid.Background><br />
        <Grid.RowDefinitions><br />
            <RowDefinition Height="Auto" /><br />
        </Grid.RowDefinitions><br />
        <Grid.ColumnDefinitions><br />
            <ColumnDefinition Width="100" /><br />
            <ColumnDefinition Width="10" /><br />
            <ColumnDefinition Width="Auto"  /><br />
        </Grid.ColumnDefinitions><br />
        <StackPanel Grid.Row="0"  ><br />
            <Button ><Label Grid.Row="0" Grid.Column="0" Width="90"><br />
    <Label.Background><br />
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
            <GradientStop Color="Black" Offset="0"/><br />
            <GradientStop Color="White" Offset="1"/><br />
        </LinearGradientBrush><br />
    </Label.Background>Admissions</Label></Button><br />
            <Button><Label Grid.Row="0" Grid.Column="0" Width="90"><br />
    <Label.Background><br />
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
            <GradientStop Color="Black" Offset="0"/><br />
            <GradientStop Color="White" Offset="1"/><br />
        </LinearGradientBrush><br />
    </Label.Background>Receptions</Label><br />
</Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Fee Manager</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Library</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Transport</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Atendance</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Accounts</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Inventory</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Examinations</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>System Setup</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>User Management</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Reports</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Alerts</Label><br />
            </Button><br />
            <Button><br />
                <Label Grid.Row="0" Grid.Column="0" Width="90"><br />
                    <Label.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="Black" Offset="0"/><br />
                            <GradientStop Color="White" Offset="1"/><br />
                        </LinearGradientBrush><br />
                    </Label.Background>Document Manager</Label><br />
            </Button><br />
        </StackPanel><br />
        <StackPanel  Grid.Column="2" Grid.Row="1" HorizontalAlignment="Stretch" ><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Stretch" >Admissions Module</Label><br />
            </WrapPanel><br />
                <WrapPanel Width="Auto" Height="Auto" HorizontalAlignment="Stretch"><br />
                    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\student.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Admissions"/><br />
                    </WrapPanel><br />
                    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50"   Margin="10"><br />
                            <Image Source="images\notes.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Edit Profile"/><br />
                    </WrapPanel><br />
                    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\transfer.gif"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Transfer Registerations"/><br />
                    </WrapPanel><br />
                    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\balance.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Admissions Report" /><br />
                    </WrapPanel><br />
                    <WrapPanel Width="106" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" HorizontalAlignment="Center" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image HorizontalAlignment="Center" Source="images\signout.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" HorizontalAlignment="center" Foreground="Aquamarine" Content="Cancel Admissions"/><br />
                    </WrapPanel><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Reception Module</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto" ><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\personnel.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="New Inquiry"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\notes.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Follow Up"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\search.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Inquiry"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\devicecontrol.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Phone Book"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\personnel.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Contact Search"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\manageusers.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Registeration"/><br />
                    </WrapPanel><br />
<br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Fees Module</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto" ><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\64dollar.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Fee Reciept"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\print.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Print Reciept"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\entertainment.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Discounts"/><br />
                    </WrapPanel><br />
<br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\folder.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Installments"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\downloads.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Accounts Posting"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\downloads.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Refunds"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\invoicesearch.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Reciept"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Collections Report"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Head Wise Collection"/><br />
                    </WrapPanel><br />
<br />
            </WrapPanel><br />
            <WrapPanel  ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Library Module</Label><br />
            </WrapPanel><br />
            <ScrollViewer><br />
            <StackPanel Width="Auto" Height="Auto" ScrollViewer.HorizontalScrollBarVisibility="Visible" ClipToBounds="False" Orientation="Horizontal" ScrollViewer.VerticalScrollBarVisibility="Visible"><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue To Student"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue To Staff"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Deopsit"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Books"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Authors"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Subjects"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Search Books"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Track Students"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Barcodes"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Settings"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Fine"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Issue Book Report"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="CD/Dvds"/><br />
                    </WrapPanel><br />
<br />
            </StackPanel><br />
            </ScrollViewer><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Attendance</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Employee Attendance"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Student Attendance"/><br />
                    </WrapPanel><br />
    <WrapPanel Width="80" Height="100" ><br />
                        <Button Style="{StaticResource GlassButton}" Width="50" Height="50" Background="#FF660707"  Margin="10"><br />
                            <Image Source="images\erp.png"/><br />
                        </Button><br />
                        <Label Background="#00D21717" Foreground="Aquamarine" Content="Employee Attendance Report"/><br />
                    </WrapPanel><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Employee Attendance Report</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Periodical Employee Attendance</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Search Attendance</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Promote</Button><br />
                <Button>Date Wise Lectures</Button><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Transport</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Registeration</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Maintenance</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Pay Transport Fee</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Create Vehicle</Button><br />
                    <Button><br />
                        <Button.Background><br />
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                                <GradientStop Color="White" Offset="0"/><br />
                                <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                            </LinearGradientBrush><br />
                        </Button.Background>Search Attendance</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Transport Attendance</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Route Report</Button><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Accounts</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Reciept</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Payment</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Journal</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Ledgers</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Party Statement</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Trial Balance</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Debtors/Creditors List</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Account Groups</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Cash Book</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Bank Book</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Profit and Loss</Button><br />
                <Button>Balance Sheet</Button><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >HR</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>New Joining</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Salary Generation</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Payout Report</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Employee Payments</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Salary Slips</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Resignation</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Edit Employee</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Salary Configuration</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Loans</Button><br />
                <Button>Deductions</Button><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >User Manager</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Change Password</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Create User</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Priviledges</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Roles</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Deactivate User</Button><br />
            </WrapPanel><br />
            <WrapPanel ><br />
                <Label Background="Brown" Foreground="White"<br />
HorizontalContentAlignment="Center" >Reports</Label><br />
            </WrapPanel><br />
            <WrapPanel Width="Auto" Height="Auto"><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Admissions Report</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Fee Collections</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Student Ledger</Button><br />
                <Button ><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Employee Salary</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Day Book</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Village Wise</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Referral Wise</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Party History</Button><br />
                <Button><br />
                    <Button.Background><br />
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><br />
                            <GradientStop Color="White" Offset="0"/><br />
                            <GradientStop Color="#FFE5E53E" Offset="0.9"/><br />
                        </LinearGradientBrush><br />
                    </Button.Background>Students Search</Button><br />
            </WrapPanel><br />
<br />
        </StackPanel><br />
    </Grid><br />
</WrapPanel><br />
</Window></pre><br />
<br />


You should rethink your UI design. A form full of buttons is one of the worst ideas I''ve seen. If your buttons can be categorized into groups, consider using a TreeView or even better, a menu. If they can''t be categorized, consider a ComboBox or ListBox to contain the form names.

If for whatever reason they simply must be buttons, consider a listbox with the buttons as the items being displayed in the listbox.
You should rethink your UI design. A form full of buttons is one of the worst ideas I''ve seen. If your buttons can be categorized into groups, consider using a TreeView or even better, a menu. If they can''t be categorized, consider a ComboBox or ListBox to contain the form names.

If for whatever reason they simply must be buttons, consider a listbox with the buttons as the items being displayed in the listbox.


这篇关于WPF控件环绕问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆