Files
Umbraco-CMS/src/Umbraco.Web/_Legacy/Actions/ContextMenuSeperator.cs
2017-07-20 11:21:28 +02:00

52 lines
1.2 KiB
C#

namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// Used simply to define context menu seperator items.
/// This should not be used directly in any code except for creating menus.
/// </summary>
public class ContextMenuSeperator : IAction
{
//create singleton
private static readonly ContextMenuSeperator instance = new ContextMenuSeperator();
private ContextMenuSeperator() { }
public static ContextMenuSeperator Instance
{
get { return instance; }
}
#region IAction Members
public char Letter
{
get { return ','; }
}
public string JsFunctionName
{
get { return string.Empty; }
}
public string JsSource
{
get { return string.Empty; }
}
public string Alias
{
get { return string.Empty; }
}
public string Icon
{
get { return string.Empty; }
}
public bool ShowInNotifier
{
get { return false; }
}
public bool CanBePermissionAssigned
{
get { return false; }
}
#endregion
}
}