컴퓨터/DX C#
[DevExpress] C# 리본 UI 스킨 적용 할 때, Form Boundary Areo 없애기
호마
2015. 4. 2. 15:05
- 참조에 DevExpress.BonusSkins.v13.1.dll 추가 후,
- 폼 띄우기 전에 10, 11 Line 입력
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { // DevExpress Skin 설정 DevExpress.UserSkins.BonusSkins.Register(); DevExpress.Skins.SkinManager.EnableFormSkins(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); } } | cs |
스킨 설정 해주는 코드인데 FormBoundary의 Areo를 없애주기도 한다.
RibbonForm의 경우 AllowFormGlass 속성을 False로 설정해야 Border Skinning 이 설정된다. (15.4.13 추가)
참조 0: Google Search
참조 1: SkinManager.EnableFormSkins
참조 2: Form Title Bar Skinning