첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
유용한 소스 코드가 있으면 icodebroker@naver.com으로 보내주시면 감사합니다.
블로그 자료는 자유롭게 사용하세요.

■ DockLayoutManager 엘리먼트 사용하기

----------------------------------------------------------------------------------------------------

<Grid>

    <dxd:DockLayoutManager x:Name="dockLayoutManager">

        <dxd:LayoutGroup Orientation="Horizontal">

            <dxd:LayoutPanel x:Name="toolboxLayoutPanel"

                Caption="Toolbox"

                ItemWidth="150" />

            <dxd:DocumentGroup>

                <dxd:DocumentPanel x:Name="documentPanel1"

                    Caption="Document 1">

                    <RichTextBox />

                </dxd:DocumentPanel>

                <dxd:DocumentPanel x:Name="documentPanel2"

                    Caption="Document 2">

                    <RichTextBox />

                </dxd:DocumentPanel>

            </dxd:DocumentGroup>

        </dxd:LayoutGroup>

        <dxd:DockLayoutManager.AutoHideGroups>

            <dxd:AutoHideGroup DockType="Right">

                <dxd:LayoutPanel x:Name="propertyLayoutPanel"

                    Caption="Properties">

                </dxd:LayoutPanel>

            </dxd:AutoHideGroup>

        </dxd:DockLayoutManager.AutoHideGroups>

        <dxd:DockLayoutManager.FloatGroups>

            <dxd:FloatGroup

                FloatLocation="200 100"

                FloatSize="200 200">

                <dxd:LayoutPanel x:Name="messageLayoutPanel"

                    Caption="Message">

                    <RichTextBox />

                </dxd:LayoutPanel>

            </dxd:FloatGroup>

        </dxd:DockLayoutManager.FloatGroups>

    </dxd:DockLayoutManager>

</Grid>

----------------------------------------------------------------------------------------------------

xmlns:dxd="http://schemas.devexpress.com/winfx/2008/xaml/docking"

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요