-
WPF DevExpress LayoutPanel의 header에 custom button 놓기닷넷/WPF 2024. 4. 22. 15:58반응형
DevExpress LayoutPanel의 header에 custom button 놓기
참고 자료
https://supportcenter.devexpress.com/ticket/details/t919567/add-new-buttons-to-layoutpanel-header-that-has-look-and-feel-of-pin-and-close-buttons
https://docs.devexpress.com/WPF/DevExpress.Xpf.Docking.LayoutPanel
https://docs.devexpress.com/WPF/DevExpress.Xpf.Docking.LayoutPanel._members
https://docs.devexpress.com/WPF/DevExpress.Xpf.Docking.BaseLayoutItem.ControlBoxContent?utm_source=SupportCenter&utm_medium=website&utm_campaign=docs-feedback&utm_content=T665596예시
<dxdo:LayoutPanel.ControlBoxContentTemplate> <DataTemplate> <dxve:DockPaneControlBoxButton ToolTip="이미지 새창 열기" Command="{DXBinding '@FindAncestor($UserControl).DataContext.ShowImageWindowCommand'}"> <Image Source="{dx:DXImage 'Images/Actions/ImportImage_16x16.png'}" /> </dxve:DockPaneControlBoxButton> </DataTemplate </dxdo:LayoutPanel.ControlBoxContentTemplate>
반응형'닷넷 > WPF' 카테고리의 다른 글
C# WPF, WinForm DevExpress GridControl 붙여넣기 기능 (0) 2024.04.22 WPF Binding Path에 관하여 (바인딩 경로) (0) 2024.04.08 WPF DevExpress 뷰가 로드될 때 특정 컨트롤(TextBox, TextEdit 등등)에 Focus 주는 방법 (0) 2024.04.01 C# WPF DataGrid에 Row번호 출력 되는 칼럼 추가하기 (닷넷프레임워크 .net framework 4.0 기준) (0) 2023.08.10 WPF Converter (컨버터, 값 변환기) (0) 2023.06.09