New to Telerik UI for ASP.NET Core? Download free 30-day trial

ContextMenu

Properties

SecurityTrimming - SecurityTrimming

Authorization - INavigationItemAuthorization

DataSource - DataSource

The number of available pages.

DataSourceId - String

Direction - String

Animation - PopupAnimation

OpenOnClick - Nullable

HighlightPath - Nullable

ItemAction - Action

Items - IList

AlignToAnchor - Nullable

AppendTo - String

CloseOnClick - Nullable

CopyAnchorStyles - Nullable

DataTextField - String

DataUrlField - String

DataSpriteCssClassField - String

DataImageUrlField - String

DataContentField - String

Filter - String

HoverDelay - Nullable

Scrollable - ContextMenuScrollableSettings

Sets the scroll amount (in pixels) that the ContextMenu scrolls when the scroll buttons are hovered. Each such distance is animated and then another animation starts with the same distance. If clicking a scroll button, the ContextMenu scrolls by doubling the distance.

ShowOn - String

Target - String

Orientation - Nullable

Events - IDictionary

Id - String

SanitezeId - Boolean

Writer - IJavaScriptWriter

Initializer - IJavaScriptInitializer

IsInClientTemplate - Boolean

IsSelfInitialized - Boolean

HasDeferredInitialization - Boolean

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

HtmlHelper - IHtmlHelper

ModelMetadataProvider - IModelMetadataProvider

Name - String

Explorer - ModelExplorer

Selector - String

IdPrefix - String

ViewContext - ViewContext

ValueProvider - IValueProvider

UrlGenerator - IUrlGenerator

HtmlEncoder - HtmlEncoder

HasClientComponent - Boolean

UseMvvmInitialization - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Parameters

writer - System.IO.TextWriter

Render()

Renders the component.

Serialize()

Serialize manual settings here

ToClientTemplate()

ToHtmlString()

VerifySettings()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ProcessSettings()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredScriptInitialization()

In this article
Not finding the help you need?