Class RadCommandBarBaseItem
A base class for all of the items contained in CommandBarStripElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCommandBarBaseItem : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadCommandBarBaseItem()
Declaration
public RadCommandBarBaseItem()
Fields
ClickEvent
VisibleInStripChangedEvent
VisibleInStripChangingEvent
VisibleInStripProperty
Properties
InheritsParentOrientation
Gets or sets that the orientation will be inherit from parent
Declaration
public virtual bool InheritsParentOrientation { get; set; }
Property Value
System.Boolean
|
MinSize
Declaration
public override Size MinSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
Orientation
Gets or sets the Orientation of the item.
Declaration
public override Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
Overrides
ShouldPaint
Declaration
public override bool ShouldPaint { get; set; }
Property Value
System.Boolean
|
Overrides
VisibleInOverflowMenu
Show or hide item from the strip overflow menu
Declaration
public bool VisibleInOverflowMenu { get; set; }
Property Value
System.Boolean
|
VisibleInStrip
Show or hide item from the strip
Declaration
public virtual bool VisibleInStrip { get; set; }
Property Value
System.Boolean
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
ExcludeBorders(SizeF)
Declaration
protected virtual SizeF ExcludeBorders(SizeF elementSize)
Parameters
System.Drawing.SizeF
elementSize
|
Returns
System.Drawing.SizeF
|
IncludeBorders(SizeF)
Declaration
protected virtual SizeF IncludeBorders(SizeF elementSize)
Parameters
System.Drawing.SizeF
elementSize
|
Returns
System.Drawing.SizeF
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureCore(SizeF)
Declaration
protected override SizeF MeasureCore(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnClick(EventArgs)
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnOrientationChanged(EventArgs)
Raises the RadCommandBarBaseItem.OrientationChanged event.
Declaration
protected virtual void OnOrientationChanged(EventArgs e)
Parameters
System.EventArgs
e
Event data. |
OnOrientationChanging(CancelEventArgs)
Raises the RadCommandBarBaseItem.OrientationChanging event.
Declaration
protected virtual bool OnOrientationChanging(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
Event data. |
Returns
System.Boolean
true if the event should be canceled, false otherwise. |
OnVisibleInStripChanged(EventArgs)
Raises the RadCommandBarBaseItem.VisibleInStripChanged event.
Declaration
protected virtual void OnVisibleInStripChanged(EventArgs e)
Parameters
System.EventArgs
e
Event data. |
Events
DoubleClick
Occurs when the element is double-clicked.
Declaration
public override event EventHandler DoubleClick
Event Type
System.EventHandler
|
Overrides
OrientationChanged
Occurs when the orientation is changed
Declaration
public event EventHandler OrientationChanged
Event Type
System.EventHandler
|
OrientationChanging
Occurs before the orientation is changed
Declaration
public event CancelEventHandler OrientationChanging
Event Type
System.ComponentModel.CancelEventHandler
|
VisibleInStripChanged
Occurs when the RadCommandBarBaseItem.VisibleInStrip property is changed.
Declaration
public event EventHandler VisibleInStripChanged
Event Type
System.EventHandler
|