Menu
Properties
DataSource - DataSource
The number of available pages.
DataSourceId - String
Animation - PopupAnimation
Items - IList
ItemAction - Action
HighlightPath - Nullable
SecurityTrimming - SecurityTrimming
Authorization - INavigationItemAuthorization
Direction - String
CloseOnClick - Nullable
DataTextField - String
DataUrlField - String
DataSpriteCssClassField - String
DataImageUrlField - String
DataContentField - String
HoverDelay - Nullable
OpenOnClick - MenuOpenOnClickSettings
Specifies that the root menus will be opened only on item click.
Scrollable - MenuScrollableSettings
Sets the scroll amount (in pixels) that the Menu 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 Menu scrolls by doubling the distance.
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
Serialize()
Serialize current instance to Dictionary
Render()
Renders the component.
ToClientTemplate()
ToHtmlString()
VerifySettings()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.