ClassRadCommandBarBaseItem
A base class for all of the items contained in CommandBarStripElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCommandBarBaseItem : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarVisualElementRadCommandBarBaseItem
Derived Classes:
Implements:
Inherited Members
Constructors
RadCommandBarBaseItem()
Declaration
public RadCommandBarBaseItem()
Fields
VisibleInStripChangedEvent
Declaration
public static RoutedEvent VisibleInStripChangedEvent
Field Value
VisibleInStripChangingEvent
Declaration
public static RoutedEvent VisibleInStripChangingEvent
Field Value
VisibleInStripProperty
Declaration
public static RadProperty VisibleInStripProperty
Field Value
Properties
InheritsParentOrientation
Gets or sets that the orientation will be inherit from parent
Declaration
[Browsable(true)]
public virtual bool InheritsParentOrientation { get; set; }
Property Value
MinSize
Get or sets the minimum size to apply on an element when layout is calculated.
Declaration
public override Size MinSize { get; set; }
Property Value
Overrides
Orientation
Gets or sets the Orientation of the item.
Declaration
[Browsable(true)]
public override Orientation Orientation { get; set; }
Property Value
Overrides
ShouldPaint
Gets or sets a value indicating whether the element should be painted.
Declaration
public override bool ShouldPaint { get; set; }
Property Value
Overrides
Remarks
Children visibility is not be affected.
VisibleInOverflowMenu
Show or hide item from the strip overflow menu
Declaration
[Browsable(true)]
public bool VisibleInOverflowMenu { get; set; }
Property Value
VisibleInStrip
Show or hide item from the strip
Declaration
[Browsable(true)]
public virtual bool VisibleInStrip { get; set; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureCore(SizeF)
Performs the core measurement logic for the element with the specified available size.
OnClick(EventArgs)
Raises the Click event.
Declaration
protected override void OnClick(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnOrientationChanged(EventArgs)
Raises the event.
Declaration
protected virtual void OnOrientationChanged(EventArgs e)
Parameters
e
Event data.
OnOrientationChanging(CancelEventArgs)
Raises the event.
Declaration
protected virtual bool OnOrientationChanging(CancelEventArgs e)
Parameters
e
Event data.
Returns
true if the event should be canceled, false otherwise.
OnVisibleInStripChanged(EventArgs)
Raises the event.
Declaration
protected virtual void OnVisibleInStripChanged(EventArgs e)
Parameters
e
Event data.
Events
DoubleClick
Occurs when the element is double-clicked.
Declaration
[Browsable(true)]
public override event EventHandler DoubleClick
Event Value
Overrides
OrientationChanged
Occurs when the orientation is changed
OrientationChanging
Occurs before the orientation is changed
Declaration
public event CancelEventHandler OrientationChanging
Event Value
VisibleInStripChanged
Occurs when the property is changed.
Declaration
public event EventHandler VisibleInStripChanged
Event Value