New to Telerik UI for WinFormsStart a free 30-day trial

Represents a ribbon bar element. The RadRibbonBarElement can be nested in other telerik controls. Essentially RadRibbonBar class is a simple wrapper for RadRibbonBarElement class. RadRibbonBar acts to transfer events to and from the its corresponding instance of the RadRibbonBarElement.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(false)]
public class RadRibbonBarElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadRibbonBarElement...

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.OnMouseMove(MouseEventArgs)LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadRibbonBarElement class.

C#
public RadRibbonBarElement()

Fields

C#
public static RadProperty IsBackstageModeProperty
C#
public static RadProperty IsRibbonFormActiveProperty
C#
public static RadProperty QuickAccessMenuHeightProperty
C#
public static RadProperty QuickAccessToolbarBelowRibbonProperty
C#
public static RadProperty RibbonFormWindowStateProperty
C#
public static RadProperty SimplifiedHeightProperty

Properties

Gets the application menu button element.

C#
[Browsable(false)]
public RadApplicationMenuButtonElement ApplicationButtonElement { get; }

Gets or sets the width of the right column in the application menu.

C#
public int ApplicationMenuRightColumnWidth { get; set; }

Gets or sets the application menu style for the ribbon bar.

C#
public ApplicationMenuStyle ApplicationMenuStyle { get; set; }

Gets or sets the backstage control used for the backstage view.

C#
public RadRibbonBarBackstageView BackstageControl { get; set; }

Gets the stack layout element that contains the buttons in the ribbon bar caption.

C#
public StackLayoutElement ButtonsContainer { get; }

Gets the BorderPrimitive instance that represents the border of the ribbon's caption.

C#
[Browsable(false)]
public BorderPrimitive CaptionBorder { get; }

Gets the FillPrimitive instance that represents the fill of the ribbon's caption.

C#
[Browsable(false)]
public FillPrimitive CaptionFill { get; }

Gets or sets a value indicating whether the close button is visible in the ribbon caption.

C#
public bool CloseButton { get; set; }

Gets or sets a value indicating whether the ribbon bar will be collapsed or expanded on ribbon tab double click.

C#
public bool CollapseRibbonOnTabDoubleClick { get; set; }

Gets or sets a boolean value determining whether the groups are collapsed according to the ribbon's size.

C#
public bool CollapsingEnabled { get; set; }

Gets a collection of the command tabs.

C#
[Browsable(true)]
[RadEditItemsAction]
public RadRibbonBarCommandTabCollection CommandTabs { get; }

Gets a collection of contextual tab groups.

C#
[Browsable(true)]
[RadNewItem("Add New Group...", true, true, false)]
public RadItemOwnerCollection ContextualTabGroups { get; }

Gets the exit menu button

C#
[Browsable(false)]
public RadMenuButtonItem ExitButton { get; }

Gets or sets the ribbon expand/collapse button element.

C#
public RadToggleButtonElement ExpandButton { get; set; }

Gets or sets a value indicating whether the RadRibbonBarElement is expanded or collapsed.

C#
public bool Expanded { get; set; }

Gets or sets the ribbon help button element.

C#
public RadImageButtonElement HelpButton { get; set; }

Gets the icon primitive element used to display the application icon.

C#
public ImagePrimitive IconPrimitive { get; }

Gets or sets the ribbon layout.

C#
[Browsable(true)]
public RibbonLayout LayoutMode { get; set; }

Gets or sets the ribbon layout mode button element.

C#
public RadToggleSwitchElement LayoutModeButton { get; set; }

Gets or sets the ribbon layout mode text element.

C#
public LightVisualElement LayoutModeTextElement { get; set; }

Gets or sets the localization settings for this ribbon bar element.

C#
public RibbonBarLocalizationSettings LocalizationSettings { get; }

Gets or sets a value indicating whether the maximize button is visible in the ribbon caption.

C#
public bool MaximizeButton { get; set; }

Gets or sets the MDI controls item for handling MDI window operations.

C#
public RadMDIControlsItem MDIbutton { get; }

Gets or sets a value indicating whether the minimize button is visible in the ribbon caption.

C#
public bool MinimizeButton { get; set; }

Gets the options menu button

C#
[Browsable(false)]
public RadMenuButtonItem OptionsButton { get; }

Gets an instance of the RibbonBarPopup class which represents the ribbon bar popup.

C#
[Browsable(false)]
public RibbonBarPopup Popup { get; }

Gets or sets the height of the quick access.

C#
[Browsable(true)]
public int QuickAccessMenuHeight { get; set; }

Gets the collection of quick access toolbar items.

C#
[Browsable(true)]
public RadItemOwnerCollection QuickAccessMenuItems { get; }

Gets the Quick Access Toolbar element.

C#
[Browsable(false)]
public RadQuickAccessToolBar QuickAccessToolBar { get; }

Gets or sets if the quick access toolbar is below the ribbon.

C#
[Browsable(true)]
public bool QuickAccessToolbarBelowRibbon { get; set; }

RibbonCaption

RadRibbonBarCaption

Gets or sets the ribbon caption element.

C#
public RadRibbonBarCaption RibbonCaption { get; set; }

Gets the instance of the currently selected command tab.

C#
[Browsable(false)]
public RibbonTab SelectedCommandTab { get; }

Gets or sets a value indicating whether the expand button is visible or hidden.

C#
public bool ShowExpandButton { get; set; }

Gets a value indicating whether the help button is visible or hidden.

C#
public bool ShowHelpButton { get; set; }

Gets or sets whether the toggle switch enabling the Simplified ribbon style is visible.

C#
[Browsable(true)]
public bool ShowLayoutModeButton { get; set; }

Gets or sets the height of the simplified ribbon.

C#
[Browsable(true)]
public int SimplifiedHeight { get; set; }

Gets or sets the image of the start button placed in the top left corner.

C#
[TypeConverter(typeof(ImageTypeConverter))]
[Browsable(true)]
public Image StartButtonImage { get; set; }

Gets the collection of start button menu items which appear at the bottom when the button has two columns.

C#
[Browsable(true)]
public RadItemOwnerCollection StartMenuBottomStrip { get; }

Gets the collection of start button menu items.

C#
[Browsable(true)]
public RadItemOwnerCollection StartMenuItems { get; }

Gets the collection of start button menu items which appear on the right column.

C#
[Browsable(true)]
public RadItemOwnerCollection StartMenuRightColumnItems { get; }

Gets or sets the width of the start menu

C#
[Browsable(true)]
public int StartMenuWidth { get; set; }

Gets an instance of the RibbonTabStripElement which displays the tab items in the ribbon bar.

C#
[Browsable(false)]
public RibbonTabStripElement TabStripElement { get; }

Methods

Arranges the child elements of the ribbon bar within the specified size.

C#
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters:finalSizeSizeF

The final size for arranging the element.

Returns:

SizeF

The actual size used for arranging the element.

Overrides: LightVisualElement.ArrangeOverride(SizeF)

Changes the base fill style for the tab based on the contextual group.

C#
protected virtual void ChangeTabBaseFillStyle(ContextualTabGroup group, LightVisualElement contentArea, LightVisualElement tabFill)
Parameters:groupContextualTabGroup

The contextual tab group.

contentAreaLightVisualElement

The content area element.

tabFillLightVisualElement

The tab fill element.

Handles the control's visible changed event.

C#
protected void Control_VisibleChanged(object sender, EventArgs e)
Parameters:senderobject

The sender of the event.

eEventArgs

The event arguments.

Creates the child elements of the ribbon bar.

C#
protected override void CreateChildElements()

Overrides: RadElement.CreateChildElements()

Creates a new RibbonBarPopup instance.

C#
protected virtual RibbonBarPopup CreateRibbonPopup()
Returns:

RibbonBarPopup

The created popup instance.

Releases managed resources used by the element.

C#
protected override void DisposeManagedResources()

Overrides: LightVisualElement.DisposeManagedResources()

Performs the core expand/collapse logic for the ribbon bar.

C#
protected virtual void DoExpandCollapse()

Handles DPI scale changes for the ribbon bar element.

C#
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters:scaleFactorSizeF

The new scale factor.

Overrides: RadElement.DpiScaleChanged(SizeF)

Gets the maximum margin from ribbon groups in the specified holder.

C#
protected virtual float GetMaximumRibbonGroupMargin(ExpandableStackLayout groupsHolder)
Parameters:groupsHolderExpandableStackLayout

The expandable stack layout containing the groups.

Returns:

float

The maximum margin value.

Gets the maximum height of tab content across all command tabs.

C#
protected virtual float GetMaximumTabContentHeight()
Returns:

float

The maximum tab content height.

Gets the maximum height of the tab strip including content.

C#
protected virtual float GetMaximumTabStripHeight()
Returns:

float

The maximum tab strip height.

Initializes the fields used by the ribbon bar element.

C#
protected override void InitializeFields()

Overrides: LightVisualElement.InitializeFields()

Measures the ribbon bar element and returns the desired size.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The available size for the element.

Returns:

SizeF

The desired size of the element.

Overrides: LightVisualElement.MeasureOverride(SizeF)

Raises the ApplicationMenuStyleChanged event.

C#
protected virtual void OnApplicationMenuStyleChanged(EventArgs args)
Parameters:argsEventArgs

An EventArgs that contains the event data.

Handles bubble events from child elements.

C#
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters:senderRadElement

The element that raised the event.

argsRoutedEventArgs

The routed event arguments.

Overrides: RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)

Raises the CommandTabCollapsed event.

C#
protected virtual void OnCommandTabCollapsed(CommandTabEventArgs args)
Parameters:argsCommandTabEventArgs

A CommandTabEventArgs that contains the event data.

Raises the CommandTabExpanded event.

C#
protected virtual void OnCommandTabExpanded(CommandTabEventArgs args)
Parameters:argsCommandTabEventArgs

A CommandTabEventArgs that contains the event data.

Raises the CommandTabSelected event.

C#
protected virtual void OnCommandTabSelected(CommandTabEventArgs args)
Parameters:argsCommandTabEventArgs

A CommandTabEventArgs that contains the event data.

Raises the CommandTabSelecting event.

C#
protected virtual void OnCommandTabSelecting(CommandTabSelectingEventArgs args)
Parameters:argsCommandTabSelectingEventArgs

A CommandTabSelectingEventArgs that contains the event data.

Raises the ItemStyleChanged event.

C#
protected virtual void OnItemStyleChanged(object sender, ItemStyleChangedEventArgs args)
Parameters:senderobject

The group where the item is located.

argsItemStyleChangedEventArgs

An ItemStyleChangedEventArgs that contains the event data.

Raises the ItemStyleChanging event.

C#
protected virtual void OnItemStyleChanging(object sender, ItemStyleChangingEventArgs args)
Parameters:senderobject

The group where the item is located.

argsItemStyleChangingEventArgs

An ItemStyleChangingEventArgs that contains the event data.

Raises the ItemVisiblityStateChanging event.

C#
protected virtual void OnItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
Parameters:senderobject

The item which is about to be changed.

argsItemVisiblityStateChangingEventArgs

An ItemVisiblityStateChangingEventArgs that contains the event data.

Raises the LayoutModeChanged event.

C#
protected virtual void OnLayoutModeChanged(EventArgs args)
Parameters:argsEventArgs

An EventArgs that contains the event data.

Called when the element is loaded into the element tree.

C#
protected override void OnLoaded()

Overrides: LightVisualElement.OnLoaded()

Handles property changes for the ribbon bar element.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The property changed event arguments.

Overrides: LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Raises the ExpandedStateChanged event.

C#
protected virtual void OnRibbonBarExpandedStateChanged(EventArgs args)
Parameters:argsEventArgs

An EventArgs instance that contains the event data.

Called when the show ribbon layout button property changes.

C#
protected virtual void OnShowRibbonLayoutButtonChanged()

Called when the simplified ribbon height property changes.

C#
protected virtual void OnSimplifiedRibbonHeightChanged()

Paints the ribbon bar element.

C#
protected override void PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, float angle, SizeF scale, bool useRelativeTransformation)
Parameters:screenRadGraphicsIGraphics

The graphics object used for painting.

clipRectangleRectangle

The clipping rectangle.

anglefloat

The rotation angle.

scaleSizeF

The scale factor.

useRelativeTransformationbool

Whether to use relative transformation.

Overrides: RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)

Performs the core logic for expanding or collapsing the ribbon bar.

C#
protected virtual void PerformExpandedCore()

Shows a popup for the specified page view item.

C#
public void ShowPopup(RadPageViewItem item)
Parameters:itemRadPageViewItem

The page view item to show popup for.

Updates references when the element tree changes.

C#
protected override void UpdateReferences(ComponentThemableElementTree tree, bool updateInheritance, bool recursive)
Parameters:treeComponentThemableElementTree

The new component tree.

updateInheritancebool

Whether to update inheritance.

recursivebool

Whether to update recursively.

Overrides: RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)

Events

Occurs when the application menu style is changed.

C#
public event EventHandler ApplicationMenuStyleChanged

Occurs when a command tab is collapsed by double clicking an expanded command tab item.

C#
public event CommandTabEventHandler CommandTabCollapsed

Occurs when a command tab is expanded by double clicking a collapsed command tab item.

C#
public event CommandTabEventHandler CommandTabExpanded

Occurs when a command tab is selected.

C#
public event CommandTabEventHandler CommandTabSelected

Occurs just before a command tab is selected.

C#
public event CommandTabSelectingEventHandler CommandTabSelecting

Occurs when the ribbon bar is either expanded or collapsed.

C#
public event EventHandler ExpandedStateChanged

Occurs after a RadProperty has changed after changing the layout mode.

C#
public event ItemStyleChangedEventHandler ItemStyleChanged

Occurs when a RadProperty is about to be changed after changing the layout mode.

C#
public event ItemStyleChangingEventHandler ItemStyleChanging

Occurs when an item's visibility state is about to be changed while resizing the ribbon bar.

C#
public event ItemVisiblityStateChangingEventHandler ItemVisiblityStateChanging

Occurs when the layout mode is changed between Default and Simplified.

C#
public event EventHandler LayoutModeChanged
In this article
DefinitionConstructorsRadRibbonBarElement()FieldsIsBackstageModePropertyIsRibbonFormActivePropertyQuickAccessMenuHeightPropertyQuickAccessToolbarBelowRibbonPropertyRibbonFormWindowStatePropertySimplifiedHeightPropertyPropertiesApplicationButtonElementApplicationMenuRightColumnWidthApplicationMenuStyleBackstageControlButtonsContainerCaptionBorderCaptionFillCloseButtonCollapseRibbonOnTabDoubleClickCollapsingEnabledCommandTabsContextualTabGroupsExitButtonExpandButtonExpandedHelpButtonIconPrimitiveLayoutModeLayoutModeButtonLayoutModeTextElementLocalizationSettingsMaximizeButtonMDIbuttonMinimizeButtonOptionsButtonPopupQuickAccessMenuHeightQuickAccessMenuItemsQuickAccessToolBarQuickAccessToolbarBelowRibbonRibbonCaptionSelectedCommandTabShowExpandButtonShowHelpButtonShowLayoutModeButtonSimplifiedHeightStartButtonImageStartMenuBottomStripStartMenuItemsStartMenuRightColumnItemsStartMenuWidthTabStripElementMethodsArrangeOverride(SizeF)ChangeTabBaseFillStyle(ContextualTabGroup, LightVisualElement, LightVisualElement)Control_VisibleChanged(object, EventArgs)CreateChildElements()CreateRibbonPopup()DisposeManagedResources()DoExpandCollapse()DpiScaleChanged(SizeF)GetMaximumRibbonGroupMargin(ExpandableStackLayout)GetMaximumTabContentHeight()GetMaximumTabStripHeight()InitializeFields()MeasureOverride(SizeF)OnApplicationMenuStyleChanged(EventArgs)OnBubbleEvent(RadElement, RoutedEventArgs)OnCommandTabCollapsed(CommandTabEventArgs)OnCommandTabExpanded(CommandTabEventArgs)OnCommandTabSelected(CommandTabEventArgs)OnCommandTabSelecting(CommandTabSelectingEventArgs)OnItemStyleChanged(object, ItemStyleChangedEventArgs)OnItemStyleChanging(object, ItemStyleChangingEventArgs)OnItemVisiblityStateChanging(object, ItemVisiblityStateChangingEventArgs)OnLayoutModeChanged(EventArgs)OnLoaded()OnPropertyChanged(RadPropertyChangedEventArgs)OnRibbonBarExpandedStateChanged(EventArgs)OnShowRibbonLayoutButtonChanged()OnSimplifiedRibbonHeightChanged()PaintOverride(IGraphics, Rectangle, float, SizeF, bool)PerformExpandedCore()ShowPopup(RadPageViewItem)UpdateReferences(ComponentThemableElementTree, bool, bool)EventsApplicationMenuStyleChangedCommandTabCollapsedCommandTabExpandedCommandTabSelectedCommandTabSelectingExpandedStateChangedItemStyleChangedItemStyleChangingItemVisiblityStateChangingLayoutModeChanged
Not finding the help you need?
Contact Support