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

■ BarContainerControl 엘리먼트 사용하기

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

<dxb:BarManager x:Name="barManager">

    <dxb:BarManager.Items>

        ...

    </dxb:BarManager.Items>

    <dxb:BarManager.Bars>

        <dxb:Bar x:Name="formatBar"

            Caption="Format">

            <dxb:Bar.DockInfo>

                <dxb:BarDockInfo ContainerType="Top" />

            </dxb:Bar.DockInfo>

            <dxb:Bar.ItemLinks>

                ...

            </dxb:Bar.ItemLinks>

        </dxb:Bar>

        ...

        <dxb:Bar x:Name="alignmentBar"

            Caption="Alignment">

            <dxb:Bar.DockInfo>

                <dxb:BarDockInfo ContainerName="noneBarContainerControl" />

            </dxb:Bar.DockInfo>

            <dxb:Bar.ItemLinks>

                ...

            </dxb:Bar.ItemLinks>

        </dxb:Bar>

    </dxb:BarManager.Bars>

    <DockPanel x:Name="dockPanel"

        LastChildFill="False">

        <dxb:BarContainerControl x:Name="topBarContainerControl"

            DockPanel.Dock="Top"

            ContainerType="Top">

        </dxb:BarContainerControl>

        ...

        <dxb:BarContainerControl x:Name="noneBarContainerControl"

            DockPanel.Dock="Top"

            ContainerType="None"

            Orientation="Horizontal">

        </dxb:BarContainerControl>

    </DockPanel>

</dxb:BarManager>

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

※ xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"

※ xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요