Browse Source

Moved INamed to Perspex.Styling.

pull/72/merge
Steven Kirk 11 years ago
parent
commit
2d6d136418
  1. 1
      Perspex.Controls/Perspex.Controls.csproj
  2. 2
      Perspex.Controls/Presenters/IPresenter.cs
  3. 1
      Perspex.Styling/Perspex.Styling.csproj
  4. 2
      Perspex.Styling/Styling/INamed.cs
  5. 7
      Perspex.Styling/Styling/IStyleable.cs

1
Perspex.Controls/Perspex.Controls.csproj

@ -53,7 +53,6 @@
<Compile Include="DropDown.cs" />
<Compile Include="IContentControl.cs" />
<Compile Include="IReparentingControl.cs" />
<Compile Include="INamed.cs" />
<Compile Include="INavigablePanel.cs" />
<Compile Include="Deck.cs" />
<Compile Include="Platform\IPopupImpl.cs" />

2
Perspex.Controls/Presenters/IPresenter.cs

@ -6,7 +6,7 @@
namespace Perspex.Controls.Presenters
{
using Perspex.Controls.Primitives;
using Perspex.Styling;
/// <summary>
/// Interface for presenters such as <see cref="ContentPresenter"/> and

1
Perspex.Styling/Perspex.Styling.csproj

@ -42,6 +42,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Styling\Classes.cs" />
<Compile Include="Styling\IGlobalStyles.cs" />
<Compile Include="Styling\INamed.cs" />
<Compile Include="Styling\IStyle.cs" />
<Compile Include="Styling\IStyleable.cs" />
<Compile Include="Styling\IStyleHost.cs" />

2
Perspex.Controls/INamed.cs → Perspex.Styling/Styling/INamed.cs

@ -4,7 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Controls
namespace Perspex.Styling
{
public interface INamed
{

7
Perspex.Styling/Styling/IStyleable.cs

@ -11,18 +11,13 @@ namespace Perspex.Styling
/// <summary>
/// Interface for styleable elements.
/// </summary>
public interface IStyleable : IObservablePropertyBag
public interface IStyleable : IObservablePropertyBag, INamed
{
/// <summary>
/// Gets the list of classes for the control.
/// </summary>
Classes Classes { get; }
/// <summary>
/// Gets the ID of the control.
/// </summary>
string Name { get; }
/// <summary>
/// Gets the type by which the control is styled.
/// </summary>

Loading…
Cancel
Save