Class RadMenuSeparatorItem
Represents a menu separation item. Use it to separate logically unrelated items in the menu.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadMenuSeparatorItem : RadMenuItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement, IHierarchicalItem, IItemsOwner, ISiteProvider
Constructors
RadMenuSeparatorItem()
Initializes a new instance of the RadMenuSeparatorItem class.
Declaration
public RadMenuSeparatorItem()
Fields
LineOffsetProperty
LineWidthProperty
OrientationProperty
ShowFillProperty
SweepAngleProperty
TextVisibilityProperty
Properties
LineOffset
Gets or sets the offset of the location where the draw of the line should start
Declaration
public virtual float LineOffset { get; set; }
Property Value
System.Single
|
LineWidth
Gets or sets separators width in pixels.
Declaration
public virtual int LineWidth { get; set; }
Property Value
System.Int32
|
Selectable
Gets a value indicating whether the RadMenuSeparator can be selected.
Declaration
public override bool Selectable { get; }
Property Value
System.Boolean
|
Overrides
SeparatorOrientation
Gets or sets the SepOrientation. Possible values are members of SepOrientation enumeration.
Declaration
public virtual SepOrientation SeparatorOrientation { get; set; }
Property Value
SepOrientation
|
SweepAngle
Gets or set the sweep angle in degrees.
Declaration
public virtual int SweepAngle { get; set; }
Property Value
System.Int32
|
TextVisibility
Gets or sets a value indicating whether the text should be visible.
Declaration
public ElementVisibility TextVisibility { get; set; }
Property Value
ElementVisibility
|
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
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|