Inheritance
System.Object
MenuItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
public abstract class MenuItem
Constructors
Declaration
protected MenuItem(string text, string path)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.String |
path |
|
Properties
Declaration
public MenuItemAlignment Alignment { get; set; }
Property Value
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int Depth { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool ExcludeFromSearch { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public Func<RequestContext, bool> IsAvailable { get; set; }
Property Value
Type |
Description |
System.Func<System.Web.Routing.RequestContext, System.Boolean> |
|
Declaration
public virtual bool IsLeaf { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsStyled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected virtual string NodeCssClass { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int SortIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string Target { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ToolTip { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Url { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public virtual bool IsSelected(RequestContext requestContext)
Parameters
Type |
Name |
Description |
System.Web.Routing.RequestContext |
requestContext |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual void RenderContents(TextWriter writer)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
writer |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods