Files
Umbraco-CMS/src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
T
2019-08-07 20:59:03 +02:00

32 lines
951 B
C#

using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a list-view editor.
/// </summary>
[DataEditor(
Constants.PropertyEditors.Aliases.ListView,
"List view",
"listview",
HideLabel = true,
Group = Constants.PropertyEditors.Groups.Lists,
Icon = Constants.Icons.ListView)]
public class ListViewPropertyEditor : DataEditor
{
/// <summary>
/// Initializes a new instance of the <see cref="ListViewPropertyEditor"/> class.
/// </summary>
/// <param name="logger"></param>
public ListViewPropertyEditor(ILogger logger)
: base(logger)
{ }
/// <inheritdoc />
protected override IConfigurationEditor CreateConfigurationEditor() => new ListViewConfigurationEditor();
}
}