Class RadCommandBarOverflowMenuItem
Represents a menu item from drop down menu opened by the RadCommandBarOverflowButton. Has a coresponding item from the CommandBarStripElement Items collection and controls its VisibleInStrip property.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCommandBarOverflowMenuItem : RadMenuItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement, IHierarchicalItem, IItemsOwner, ISiteProvider
Constructors
RadCommandBarOverflowMenuItem(RadCommandBarBaseItem, RadDropDownMenu)
Create RadCommandBarOverflowMenuItem instance
Declaration
public RadCommandBarOverflowMenuItem(RadCommandBarBaseItem representedItem, RadDropDownMenu ownerMenu)
Parameters
RadCommandBarBaseItem
representedItem
Which item will be show in menu |
RadDropDownMenu
ownerMenu
Menu that should be updated on representedItem visibility is changed |
Properties
Checked
Gets or sets whether the item is in checked state. This property affects the VisibleInStrip property of the coresponding item in CommandBarStripElement.
Declaration
public bool Checked { get; set; }
Property Value
System.Boolean
|
Image
Gets or sets the image that is displayed on menu item element.
Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image
|
Text
Gets or sets the text that is displayed on menu item element.
Declaration
public string Text { get; set; }
Property Value
System.String
|
ThemeEffectiveType
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.Type
|
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
InitializeFields()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
menuElement_Click(Object, EventArgs)
menuElement_MouseEnter(Object, EventArgs)
menuElement_MouseLeave(Object, EventArgs)
OnClick(EventArgs)
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|