■ BarSplitButtonItem 엘리먼트를 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<dxb:BarSplitButtonItem x:Name="fontColorBarSplitButtonItem" ArrowAlignment="Top" Glyph="pack://application:,,,/Image/fontcolor16x16.png" Content="FontColor" ItemClick="fontColorBarSplitButtonItem_ItemClick"> <dxb:BarSplitButtonItem.PopupControl> <dxb:PopupControlContainer> <UserControl> <dxe:ColorChooser /> </UserControl> </dxb:PopupControlContainer> </dxb:BarSplitButtonItem.PopupControl> </dxb:BarSplitButtonItem> |
※ xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
※ xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"