Class CommandBarRowElement
Represents a row of the RadCommandBarElement. Contains a collection of CommandBarStripElement elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CommandBarRowElement : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
CommandBarRowElement()
Declaration
public CommandBarRowElement()
Properties
Orientation
Declaration
[RadPropertyDefaultValue("Orientation", typeof(CommandBarRowElement))]
public override Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
Overrides
Owner
Gets or sets the RadCommandBarElement that owns this row.
Declaration
public virtual RadCommandBarElement Owner { get; set; }
Property Value
RadCommandBarElement
|
Strips
Gets the CommandBarStripElement elements contained in this row.
Declaration
public CommandBarStripElementCollection Strips { get; }
Property Value
CommandBarStripElementCollection
|
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MoveCommandStripInOtherLine(CommandBarStripElement)
Moves specified CommandBarStripElement in coresponding row if its CommandBarStripElement.DesiredLocation property points to a location in other row.
Declaration
protected void MoveCommandStripInOtherLine(CommandBarStripElement currentElement)
Parameters
CommandBarStripElement
currentElement
The CommandBarStripElement to move. |
OnBeginDragging(Object, CancelEventArgs)
Raises the CommandBarRowElement.BeginDragging event
Declaration
protected virtual void OnBeginDragging(object sender, CancelEventArgs args)
Parameters
System.Object
sender
The element that is responsible for firing the event. |
System.ComponentModel.CancelEventArgs
args
A System.ComponentModel.CancelEventArgs that contains the event data. |
OnBubbleEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
OnDragging(Object, MouseEventArgs)
Raises the CommandBarRowElement.Dragging event
Declaration
protected virtual void OnDragging(object sender, MouseEventArgs args)
Parameters
System.Object
sender
The element that is responsible for firing the event. |
System.Windows.Forms.MouseEventArgs
args
A System.Windows.Forms.MouseEventArgs that contains the event data. |
OnEndDragging(Object, EventArgs)
Raises the CommandBarRowElement.EndDragging event
Declaration
protected virtual void OnEndDragging(object sender, EventArgs args)
Parameters
System.Object
sender
The element that is responsible for firing the event. |
System.EventArgs
args
A System.EventArgs that contains the event data. |
OnOrientationChanged(EventArgs)
Raises the CommandBarRowElement.OrientationChanged event
Declaration
protected virtual void OnOrientationChanged(EventArgs e)
Parameters
System.EventArgs
e
A System.EventArgs that contains the event data. |
OnOrientationChanging(CancelEventArgs)
Raises the CommandBarRowElement.OrientationChanging event.
Declaration
protected virtual bool OnOrientationChanging(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
A System.ComponentModel.CancelEventArgs that contains the event data. |
Returns
System.Boolean
True if the change of orientation should be canceled, false otherwise. |
SetOrientationCore(Orientation)
Applies the new orientation to the element and its children.
Declaration
protected void SetOrientationCore(Orientation newOrientation)
Parameters
System.Windows.Forms.Orientation
newOrientation
The orientation to apply. |
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|
Overrides
Events
BeginDragging
Occurs before dragging is started.
Declaration
public event CancelEventHandler BeginDragging
Event Type
System.ComponentModel.CancelEventHandler
|
Dragging
Occurs when item is being dragged.
Declaration
public event MouseEventHandler Dragging
Event Type
System.Windows.Forms.MouseEventHandler
|
EndDragging
Occurs when item is released and dragging is stopped.
Declaration
public event EventHandler EndDragging
Event Type
System.EventHandler
|
OrientationChanged
Occurs when Orientation property is changed.
Declaration
public event EventHandler OrientationChanged
Event Type
System.EventHandler
|
OrientationChanging
Occurs before Orientation property is changed.
Declaration
public event CancelEventHandler OrientationChanging
Event Type
System.ComponentModel.CancelEventHandler
|