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
public RadCommandBarBaseItem()
Fields
public static RoutedEvent ClickEvent
public static RoutedEvent VisibleInStripChangedEvent
public static RoutedEvent VisibleInStripChangingEvent
public static RadProperty VisibleInStripProperty
Properties
Gets or sets that the orientation will be inherit from parent
[Browsable(true)]
public virtual bool InheritsParentOrientation { get; set; }
Get or sets the minimum size to apply on an element when layout is calculated.
public override Size MinSize { get; set; }
Overrides:
Gets or sets the Orientation of the item.
[Browsable(true)]
public override Orientation Orientation { get; set; }
Overrides:
Gets or sets a value indicating whether the element should be painted.
public override bool ShouldPaint { get; set; }
Overrides:
Children visibility is not be affected.
Show or hide item from the strip overflow menu
[Browsable(true)]
public bool VisibleInOverflowMenu { get; set; }
Show or hide item from the strip
[Browsable(true)]
public virtual bool VisibleInStrip { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Performs the core measurement logic for the element with the specified available size.
Raises the Click event.
Raises the event.
Raises the event.
protected virtual bool OnOrientationChanging(CancelEventArgs e)
Event data.
Returns:true if the event should be canceled, false otherwise.
Raises the event.
Events
Occurs when the element is double-clicked.
[Browsable(true)]
public override event EventHandler DoubleClick
Overrides:
Occurs when the orientation is changed
public event EventHandler OrientationChanged
Occurs before the orientation is changed
public event CancelEventHandler OrientationChanging
Occurs when the property is changed.
public event EventHandler VisibleInStripChanged