Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.ExtLibs/HeuristicLab.WinFormsUI/2.7.0/WinFormsUI-2.7.0/Docking/DockPanel.Appearance.cs @ 10216

Last change on this file since 10216 was 8616, checked in by mkommend, 12 years ago

#1939: Added DockPanelSuite 2.7.0 to ExtLibs.

File size: 1.1 KB
Line 
1using WeifenLuo.WinFormsUI.Docking.Skins;
2using System.ComponentModel;
3
4namespace WeifenLuo.WinFormsUI.Docking
5{
6  public partial class DockPanel
7  {
8        private DockPanelSkin m_dockPanelSkin = DockPanelSkinBuilder.Create(Style.VisualStudio2005);
9        [LocalizedCategory("Category_Docking")]
10        [LocalizedDescription("DockPanel_DockPanelSkin")]
11        public DockPanelSkin Skin
12        {
13            get { return m_dockPanelSkin;  }
14            set { m_dockPanelSkin = value; }
15        }
16       
17        private Style m_dockPanelSkinStyle = Style.VisualStudio2005;
18        [LocalizedCategory("Category_Docking")]
19        [LocalizedDescription("DockPanel_DockPanelSkinStyle")]
20        [DefaultValue(Style.VisualStudio2005)]
21        public Style SkinStyle
22        {
23            get { return m_dockPanelSkinStyle; }
24            set
25            {
26                if (m_dockPanelSkinStyle == value)
27                    return;
28
29                m_dockPanelSkinStyle = value;
30
31                Skin = DockPanelSkinBuilder.Create(m_dockPanelSkinStyle);
32            }
33        }
34  }
35}
Note: See TracBrowser for help on using the repository browser.