Remove unused SkinStyle property

Does not actually provide any functionality, so it's beyond obsolete.
This commit is contained in:
Ryan Rastedt
2013-11-27 13:10:15 -06:00
parent 981adbb8f4
commit 96b74f6e49
5 changed files with 10 additions and 53 deletions

View File

@@ -1,6 +1,4 @@
using System;
using WeifenLuo.WinFormsUI.Docking.Skins;
using System.ComponentModel;
namespace WeifenLuo.WinFormsUI.Docking
{
@@ -16,23 +14,6 @@ namespace WeifenLuo.WinFormsUI.Docking
set { m_dockPanelSkin = value; }
}
private Style m_dockPanelSkinStyle = Style.VisualStudio2005;
[LocalizedCategory("Category_Docking")]
[LocalizedDescription("DockPanel_DockPanelSkinStyle")]
[DefaultValue(Style.VisualStudio2005)]
[Obsolete("Please use Theme instead.")]
public Style SkinStyle
{
get { return m_dockPanelSkinStyle; }
set
{
if (m_dockPanelSkinStyle == value)
return;
m_dockPanelSkinStyle = value;
}
}
private ThemeBase m_dockPanelTheme = new VS2005Theme();
[LocalizedCategory("Category_Docking")]
[LocalizedDescription("DockPanel_DockPanelTheme")]

View File

@@ -1,11 +0,0 @@
using System;
namespace WeifenLuo.WinFormsUI.Docking.Skins
{
[Obsolete]
public enum Style
{
VisualStudio2005 = 1,
VisualStudio2012Light
}
}

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -609,15 +609,6 @@ namespace WeifenLuo.WinFormsUI.Docking {
}
}
/// <summary>
/// Looks up a localized string similar to The predefined style used as the base for the skin..
/// </summary>
internal static string DockPanel_DockPanelSkinStyle {
get {
return ResourceManager.GetString("DockPanel_DockPanelSkinStyle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Size of the right docking window. Value &lt; 1 to specify the size in portion; value &gt; 1 to specify the size in pixels..
/// </summary>
@@ -735,15 +726,6 @@ namespace WeifenLuo.WinFormsUI.Docking {
}
}
/// <summary>
/// Looks up a localized string similar to Show close button on each tab.
/// </summary>
internal static string DockPanel_ShowCloseButtonOnEachTab_Description {
get {
return ResourceManager.GetString("DockPanel_ShowCloseButtonOnEachTab_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Shows the hidden autohide content when hovering over the tab. When disabled, the tab must be clicked to show the content..
/// </summary>
@@ -753,6 +735,15 @@ namespace WeifenLuo.WinFormsUI.Docking {
}
}
/// <summary>
/// Looks up a localized string similar to Show close button on each tab.
/// </summary>
internal static string DockPanel_ShowCloseButtonOnEachTab_Description {
get {
return ResourceManager.GetString("DockPanel_ShowCloseButtonOnEachTab_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines if the document icon will be displayed in the tab strip..
/// </summary>

View File

@@ -354,9 +354,6 @@
<data name="DockPanel_DockPanelSkin" xml:space="preserve">
<value>The visual skin to use when displaying the docked windows.</value>
</data>
<data name="DockPanel_DockPanelSkinStyle" xml:space="preserve">
<value>The predefined style used as the base for the skin.</value>
</data>
<data name="DockPanel_DocumentTabStripLocation" xml:space="preserve">
<value>Determines where the tab strip for Document style content is drawn.</value>
</data>

View File

@@ -75,7 +75,6 @@
<DesignTime>True</DesignTime>
<DependentUpon>ResourcesVS2003.resx</DependentUpon>
</Compile>
<Compile Include="Docking\Skins\Style.cs" />
<Compile Include="Docking\StringsVS2003.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>