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

■ ButtonEditSettings 엘리먼트 사용하기

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

<Grid

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

    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">

    <dxg:GridControl x:Name="gridControl">

        <dxg:GridControl.Columns>

            <dxg:GridColumn FieldName="UnitPrice">

                <dxg:GridColumn.EditSettings>

                    <dxe:ButtonEditSettings AllowDefaultButton="False">

                        <dxe:ButtonEditSettings.Buttons>

                            <dxe:ButtonInfo x:Name="plusButtonInfo"

                                GlyphKind="Plus"

                                Click="plusButtonInfo_Click"/>

                            <dxe:ButtonInfo x:Name="minusButtonInfo"

                                GlyphKind="Minus"

                                Click="minusButtonInfo_Click"/>

                        </dxe:ButtonEditSettings.Buttons>

                    </dxe:ButtonEditSettings>

                </dxg:GridColumn.EditSettings>

            </dxg:GridColumn>

        </dxg:GridControl.Columns>

        <dxg:GridControl.View>

            <dxg:TableView x:Name="tableView" />

        </dxg:GridControl.View>

    </dxg:GridControl>

</Grid>

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

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요