Class RadMenuContentItem
Represents a generic menu item which could have any descendant of RadElement placed inside. Such element could be placed in the menu by setting the ContentElement property.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[RadToolboxItem(false)]
public class RadMenuContentItem : RadMenuItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement, IHierarchicalItem, IItemsOwner, ISiteProvider
Constructors
RadMenuContentItem()
Declaration
public RadMenuContentItem()
Fields
ShowImageOffsetProperty
Properties
ContentElement
Provides a reference to the content element in the menu item.
Declaration
public RadElement ContentElement { get; set; }
Property Value
RadElement
|
ShowImageOffset
Gets or sets if the image column offset is shown along with content element or not.
Declaration
[RadPropertyDefaultValue("ShowImageOffset", typeof(RadMenuContentItem))]
public virtual bool ShowImageOffset { get; set; }
Property Value
System.Boolean
|
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()
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|