<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="vbox_collapse.aspx.cs" Inherits="FineUI.Examples.layout.vbox_collapse" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" />
        <f:Panel ID="Panel2" runat="server" Height="550px" Width="850px" ShowBorder="True" EnableCollapse="true"
            Layout="VBox" BoxConfigChildMargin="0 0 5 0" BodyPadding="5px"
            ShowHeader="True" Title="面板（Layout=VBox BoxConfigChildMargin=0 0 5 0）">
            <Items>
                <f:Panel ID="Panel3" Title="面板1" Height="120px" runat="server"
                    BodyPadding="5px" ShowBorder="true" ShowHeader="true" EnableCollapse="true">
                    <Items>
                        <f:Label ID="Label2" runat="server" Text="Height=120px">
                        </f:Label>
                    </Items>
                </f:Panel>
                <f:Panel ID="Panel1" Title="面板2" BoxFlex="1" runat="server"
                    BodyPadding="5px" ShowBorder="true" ShowHeader="true" EnableCollapse="true">
                    <Items>
                        <f:Label ID="Label1" runat="server" Text="BoxFlex=1">
                        </f:Label>
                    </Items>
                </f:Panel>
                <f:Panel ID="Panel4" Title="面板3" BoxFlex="2" Margin="0"
                    runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true" EnableCollapse="true">
                    <Items>
                        <f:Label ID="Label3" runat="server" Text="BoxFlex=2 Margin=0">
                        </f:Label>
                    </Items>
                </f:Panel>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
