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="DropDown.cs" />
<Compile Include="IContentControl.cs" /> <Compile Include="IContentControl.cs" />
<Compile Include="IReparentingControl.cs" /> <Compile Include="IReparentingControl.cs" />
<Compile Include="INamed.cs" />
<Compile Include="INavigablePanel.cs" /> <Compile Include="INavigablePanel.cs" />
<Compile Include="Deck.cs" /> <Compile Include="Deck.cs" />
<Compile Include="Platform\IPopupImpl.cs" /> <Compile Include="Platform\IPopupImpl.cs" />

2
Perspex.Controls/Presenters/IPresenter.cs

@ -6,7 +6,7 @@
namespace Perspex.Controls.Presenters namespace Perspex.Controls.Presenters
{ {
using Perspex.Controls.Primitives; using Perspex.Styling;
/// <summary> /// <summary>
/// Interface for presenters such as <see cref="ContentPresenter"/> and /// 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="Properties\AssemblyInfo.cs" />
<Compile Include="Styling\Classes.cs" /> <Compile Include="Styling\Classes.cs" />
<Compile Include="Styling\IGlobalStyles.cs" /> <Compile Include="Styling\IGlobalStyles.cs" />
<Compile Include="Styling\INamed.cs" />
<Compile Include="Styling\IStyle.cs" /> <Compile Include="Styling\IStyle.cs" />
<Compile Include="Styling\IStyleable.cs" /> <Compile Include="Styling\IStyleable.cs" />
<Compile Include="Styling\IStyleHost.cs" /> <Compile Include="Styling\IStyleHost.cs" />

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

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

7
Perspex.Styling/Styling/IStyleable.cs

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

Loading…
Cancel
Save