Line | |
---|
1 | using WeifenLuo.WinFormsUI.Docking.Skins;
|
---|
2 | using System.ComponentModel;
|
---|
3 |
|
---|
4 | namespace 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.