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

Represent a single strip with controls inside

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CommandBarStripElement : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarVisualElementCommandBarStripElement...

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

Inherited Members RadCommandBarVisualElement.cachedOrientationRadCommandBarVisualElement.OrientationPropertyRadCommandBarVisualElement.GetBorderThickness(bool)RadCommandBarVisualElement.SetOwnerCommandBarCollection(CollectionBase)RadCommandBarVisualElement.DisplayNameLightVisualElement.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.InitializeFields()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.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)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.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)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.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.GetDragContextCore()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.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.UpdateReferences(ComponentThemableElementTree, bool, bool)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.DpiScaleChanged(SizeF)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.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

C#
public CommandBarStripElement()

Fields

C#
protected PointF cachedDesiredLocation
C#
public static RadProperty DesiredLocationProperty
C#
public static RadProperty VisibleInCommandBarProperty

Properties

Gets the delta of the drag.

C#
[Browsable(false)]
public PointF Delta { get; }

Gets or sets the desired location of the strip element.

C#
[Browsable(false)]
public PointF DesiredLocation { get; set; }

Gets or sets if the strip can be dragged.

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

Gets or sets if the strip can be floating.

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

Gets the form in which the items are placed where the strip is floating.

C#
[Browsable(false)]
public CommandBarFloatingForm FloatingForm { get; set; }

Gets or sets the RadCommandBarGrip element of the strip.

C#
[Browsable(true)]
public RadCommandBarGrip Grip { get; set; }

Gets whether the strip has items in its overflow panel.

C#
[Browsable(false)]
public bool HasOverflowedItems { get; }

Gets or sets whether the strip is beeing dragged.

C#
[Browsable(false)]
public bool IsDrag { get; }

Gets the items contained in the strip.

C#
[RadEditItemsAction]
[RadNewItem("", false, false, false)]
public RadCommandBarBaseItemCollection Items { get; }

Gets the layout panel in which the items are arranged.

C#
[Browsable(false)]
public RadCommandBarItemsPanel ItemsLayout { get; }

Get or sets the minimum size to apply on an element when layout is calculated.

C#
public override Size MinSize { get; set; }

Overrides: RadElement.MinSize

Gets or sets the elements orientation inside the line element. Possible values are horizontal and vertical.

C#
[Browsable(false)]
public override Orientation Orientation { get; set; }

Overrides: RadCommandBarVisualElement.Orientation

Gets or sets the RadCommandBarOverflowButton element of the strip.

C#
[Browsable(true)]
public RadCommandBarOverflowButton OverflowButton { get; set; }

Gets or sets Overflow menu single strip maximum size.

C#
[Browsable(false)]
public Size OverflowMenuMaxSize { get; set; }

Gets or sets Overflow menu single strip minimum size.

C#
[Browsable(false)]
public Size OverflowMenuMinSize { get; set; }

Gets or sets the text displayed by this item.

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

The text content of the item. The default value is an empty string.

Overrides: RadItem.Text

Remarks:

This property supports data binding and localization. The text can contain HTML markup when the HTML support is enabled for the containing control. Changes to this property will trigger layout updates and repainting of the item.

Gets or sets whether the strip is visible in the command bar. This property is changed by the context menu which is opened on right click on the control.

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

Methods

Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.

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

The final area within the parent that this element should use to arrange itself and its children.

Returns:

SizeF

The actual size used by the element after arrangement.

Overrides: LightVisualElement.ArrangeOverride(SizeF)

Determines whether the element may be dragged.

C#
protected override bool CanDragCore(Point dragStartPoint)
Parameters:dragStartPointPointReturns:

bool

Overrides: RadItem.CanDragCore(Point)

Called by the element when constructed. Allows inheritors to build the element tree.

C#
protected override void CreateChildElements()

Overrides: RadCommandBarVisualElement.CreateChildElements()

C#
protected virtual RadCommandBarOverflowButton CreateCommandBarOverflowButton()
Returns:

RadCommandBarOverflowButton

Disposes of managed resources including cached images and SVG images when the element is being disposed.

C#
protected override void DisposeManagedResources()

Overrides: RadCommandBarVisualElement.DisposeManagedResources()

C#
protected void ForceBeginDrag()

Forces the drag to end.

C#
protected void ForceEndDrag()

Gets the image to be used as a hint when this element is being dragged.

C#
protected override Image GetDragHintCore()
Returns:

Image

An image representing the drag hint for this element.

Overrides: RadItem.GetDragHintCore()

Measures the items with the size given and calculates the expected size of the strip including the RadCommandBarGrip and RadCommandBarOverflowButton.

C#
public SizeF GetExpectedSize(SizeF availableSize)
Parameters:availableSizeSizeF

The size to measure the items with.

Returns:

SizeF

The calculated size of the strip.

Measures the desired size of the element by calculating the space needed for content, padding, and borders.

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

The available space that a parent element can allocate to this element.

Returns:

SizeF

The desired size of the element including content, padding, and border space.

Overrides: LightVisualElement.MeasureOverride(SizeF)

Raises the event

C#
protected virtual void OnBeginDragging(object sender, CancelEventArgs args)
Parameters:senderobject

The element that is responsible for firing the event.

argsCancelEventArgs

A CancelEventArgs that contains the event data.

Called when the bubble phase of a routed event occurs.

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

The element that originally raised the event.

argsRoutedEventArgs

The routed event arguments.

Overrides: RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)

Raises the event

C#
protected virtual void OnDragging(object sender, MouseEventArgs args)
Parameters:senderobject

The element that is responsible for firing the event.

argsMouseEventArgs

A MouseEventArgs that contains the event data.

Raises the event

C#
protected virtual void OnEndDragging(object sender, EventArgs args)
Parameters:senderobject

The element that is responsible for firing the event.

argsEventArgs

A EventArgs that contains the event data.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual void OnItemsChanged(RadCommandBarBaseItemCollection changed, RadCommandBarBaseItem target, ItemsChangeOperation operation)
Parameters:changedRadCommandBarBaseItemCollection

The collection that is changed.

targetRadCommandBarBaseItem

The targeted element of the collection.

operationItemsChangeOperation

The type of the operation.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual bool OnItemVisibleInStripChanging(object sender, CancelEventArgs e)
Parameters:senderobject

The element that is responsible for firing the event.

eCancelEventArgs

A CancelEventArgs that contains the event data.

Returns:

bool

true if the event should be canceled, false otherwise.

Raises the event.

C#
protected virtual void OnLineChanged(EventArgs e)
Parameters:eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual bool OnLineChanging(CancelEventArgs e)
Parameters:eCancelEventArgs

A CancelEventArgs that contains the event data.

Returns:

bool

true if the event should be canceled, false otherwise.

Raises the event.

C#
protected virtual void OnOrientationChanged(EventArgs e)
Parameters:eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual bool OnOrientationChanging(CancelEventArgs e)
Parameters:eCancelEventArgs

A CancelEventArgs that contains the event data.

Returns:

bool

true if the event should be canceled, false otherwise.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual void OnOverflowMenuClosing(object sender, CancelEventArgs e)
Parameters:senderobject

The element that is responsible for firing the event.

eCancelEventArgs

A CancelEventArgs that contains the event data.

Raises the event.

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

The element that is responsible for firing the event.

eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual void OnOverflowMenuOpening(object sender, CancelEventArgs e)
Parameters:senderobject

The element that is responsible for firing the event.

eCancelEventArgs

A CancelEventArgs that contains the event data.

Fires the PanGesture event.

C#
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters:argsPanGestureEventArgs

The arguments for the PanGesture event.

Overrides: RadItem.OnPanGesture(PanGestureEventArgs)

Raises the event.

C#
protected virtual void OnVisibleInCommandBarChanged(EventArgs e)
Parameters:eEventArgs

A EventArgs that contains the event data.

Raises the event.

C#
protected virtual bool OnVisibleInCommandBarChanging(CancelEventArgs e)
Parameters:eCancelEventArgs

A CancelEventArgs that contains the event data.

Returns:

bool

true if the event should be canceled, false otherwise.

Applies an orientation to the strip and its children.

C#
protected void SetOrientationCore(Orientation value)
Parameters:valueOrientation

The orientation to apply.

Unsubscribe from the children's events.

C#
protected virtual void UnwireEvents()

Subscribes to the children's events.

C#
protected virtual void WireEvents()

Events

Occurs before dragging is started.

C#
public event CancelEventHandler BeginDrag

Occurs when item is being dragged.

C#
public event MouseEventHandler Drag

Occurs when item is released and dragging is stopped.

C#
public event EventHandler EndDrag

Occurs when item is clicked.

C#
public event EventHandler ItemClicked

Occurs when item is moved out from the overflow panel.

C#
public event EventHandler ItemOutOfOverflow

Occurs when item is moved to the overflow panel.

C#
public event EventHandler ItemOverflowed

Occurs when Items collection is changed.

C#
public event RadCommandBarBaseItemCollectionItemChangedDelegate ItemsChanged

Occurs when item is moved in or out of the UncheckedItems collection.

C#
public event EventHandler ItemVisibleInStripChanged

Occurs before item is moved in or out of the UncheckedItems collection.

C#
public event CancelEventHandler ItemVisibleInStripChanging

Occurs when VisibleInCommandBar property is changed.

C#
public event EventHandler LineChanged

Occurs before VisibleInCommandBar property is changed.

C#
public event CancelEventHandler LineChanging

Occurs when Orientation property is changed.

C#
public event EventHandler OrientationChanged

Occurs before Orientation property is changed.

C#
public event CancelEventHandler OrientationChanging

Occurs when overflow menu is opened.

C#
public event EventHandler OverflowMenuClosed

Occurs before oferflow menu is opened.

C#
public event CancelEventHandler OverflowMenuClosing

Occurs when overflow menu is opened.

C#
public event EventHandler OverflowMenuOpened

Occurs before overflow menu is opened.

C#
public event CancelEventHandler OverflowMenuOpening

Occurs when VisibleInCommandBar property is changed.

C#
public event EventHandler VisibleInCommandBarChanged

Occurs before VisibleInCommandBar property is changed.

C#
public event CancelEventHandler VisibleInCommandBarChanging
In this article
DefinitionConstructorsCommandBarStripElement()FieldscachedDesiredLocationDesiredLocationPropertyVisibleInCommandBarPropertyPropertiesDeltaDesiredLocationEnableDraggingEnableFloatingFloatingFormGripHasOverflowedItemsIsDragItemsItemsLayoutMinSizeOrientationOverflowButtonOverflowMenuMaxSizeOverflowMenuMinSizeTextVisibleInCommandBarMethodsArrangeOverride(SizeF)CanDragCore(Point)CreateChildElements()CreateCommandBarOverflowButton()DisposeManagedResources()ForceBeginDrag()ForceEndDrag()GetDragHintCore()GetExpectedSize(SizeF)MeasureOverride(SizeF)OnBeginDragging(object, CancelEventArgs)OnBubbleEvent(RadElement, RoutedEventArgs)OnDragging(object, MouseEventArgs)OnEndDragging(object, EventArgs)OnItemClicked(object, EventArgs)OnItemOutOfOverflow(object, EventArgs)OnItemOverflowed(object, EventArgs)OnItemsChanged(RadCommandBarBaseItemCollection, RadCommandBarBaseItem, ItemsChangeOperation)OnItemVisibleInStripChanged(object, EventArgs)OnItemVisibleInStripChanging(object, CancelEventArgs)OnLineChanged(EventArgs)OnLineChanging(CancelEventArgs)OnOrientationChanged(EventArgs)OnOrientationChanging(CancelEventArgs)OnOverflowMenuClosed(object, EventArgs)OnOverflowMenuClosing(object, CancelEventArgs)OnOverflowMenuOpened(object, EventArgs)OnOverflowMenuOpening(object, CancelEventArgs)OnPanGesture(PanGestureEventArgs)OnVisibleInCommandBarChanged(EventArgs)OnVisibleInCommandBarChanging(CancelEventArgs)SetOrientationCore(Orientation)UnwireEvents()WireEvents()EventsBeginDragDragEndDragItemClickedItemOutOfOverflowItemOverflowedItemsChangedItemVisibleInStripChangedItemVisibleInStripChangingLineChangedLineChangingOrientationChangedOrientationChangingOverflowMenuClosedOverflowMenuClosingOverflowMenuOpenedOverflowMenuOpeningVisibleInCommandBarChangedVisibleInCommandBarChanging
Not finding the help you need?
Contact Support