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

This class defines the RibbonBarApplicationMenu object that inherits WebControl.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RibbonBarApplicationMenu : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IXmlSerializable, INamingContainer

Inheritance: objectControlWebControlRibbonBarApplicationMenu

Implements: IAttributeAccessorIComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorINamingContainerIParserAccessorIUrlResolutionServiceIXmlSerializable...

Inherited Members WebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.SaveViewState()WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RibbonBarApplicationMenu()

Properties

Used to customize the ApplicationMenu AuxiliaryPane.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarApplicationMenuAuxiliaryPane AuxiliaryPane { get; }

Used to customize the ApplicationMenu Footer.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarApplicationMenuFooterPane FooterPane { get; }

Gets a RibbonBarApplicationMenuItemCollection object that contains the items of the ApplicationMenu.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarApplicationMenuItemBaseCollection Items { get; }
Property Value:

A RibbonBarApplicationMenuItemCollection that contains the items of the ApplicationMenu. By default the collection is empty (the ApplicationMenu has no items).

Use the Items property to access the items of the ApplicationMenu. You can also use the Items property to manage the items. You can add, remove or modify items from the Items collection.

Example:
cs-api-definition
applicationMenu.Items[0].Text = "SampleMenuItemText";
C#
protected IRenderer Renderer { get; }

Specifies the rendering mode of the control. Setting the mode to Lightweight will yield HTML 5/CSS 3 html and css.

C#
public virtual RenderMode RenderMode { get; set; }

Lightweight rendering mode might change the outlook of the component in some older browsers that don't support CSS3/HTML5.

C#
public RadRibbonBar RibbonBar { get; }
C#
protected override HtmlTextWriterTag TagKey { get; }

Overrides: WebControl.TagKey

Gets or sets the text of the ApplicationMenu.

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

The text of the ApplicationMenu. The default value is empty string.

Use the property to set the displayed text of the ApplicationMenu.

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WebControl.AddAttributesToRender(HtmlTextWriter)

C#
protected override void CreateChildControls()

Overrides: Control.CreateChildControls()

C#
protected virtual IRenderer CreateControlRenderer()
Returns:

IRenderer

C#
[SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")]
public override void Dispose()

Overrides: Control.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
protected string GetAuxiliaryPaneContentCssClass()
Returns:

string

C#
protected string GetFooterPaneCssClass()
Returns:

string

C#
public void ReadXml(XmlReader reader)
Parameters:readerXmlReader
C#
protected virtual void ReadXmlForMenuItems(XmlReader reader)
Parameters:readerXmlReader
C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WebControl.RenderContents(HtmlTextWriter)

C#
protected void WriteXml(XmlWriter writer)
Parameters:writerXmlWriter
C#
protected virtual void WriteXmlForMenuItems(XmlWriter writer)
Parameters:writerXmlWriter