New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

This Class defines the ContextMenuSettings object that inherits ObjectWithState.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class ContextMenuSettings : ObjectWithState

Inheritance: objectObjectWithStateContextMenuSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Properties

Gets or sets a value indicating whether to use the integrated context menu.

C#
public bool EnableDefault { get; set; }
Property Value:

true if the intergrated menu is enabled; otherwise, false.

Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.

C#
public virtual bool EnableEmbeddedBaseStylesheet { get; set; }

If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.

Gets or sets the value, indicating whether to render script references to the embedded scripts or not.

C#
public virtual bool EnableEmbeddedScripts { get; set; }

If EnableEmbeddedScripts is set to false you will have to register the needed Scripts files by hand.

Gets or sets the value, indicating whether to render links to the embedded skins or not.

C#
public virtual bool EnableEmbeddedSkins { get; set; }

If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.

Gets or sets the skin name for the context menu.

C#
public string Skin { get; set; }
Property Value:

A string indicating the skin name for the context menu. The default is "Default".

If this property is not set, the control will render using the skin named "Default". If EnableEmbeddedSkins is set to false, the control will not render skin.