ClassRadMenuItemLayout
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadMenuItemLayout : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelRadMenuItemLayout
Implements:
Inherited Members
Constructors
RadMenuItemLayout()
Declaration
public RadMenuItemLayout()
Properties
ArrowPrimitive
Declaration
public ArrowPrimitive ArrowPrimitive { get; }
Property Value
Checkmark
Declaration
public RadMenuCheckmark Checkmark { get; }
Property Value
RadMenuCheckmark
Description
Declaration
public TextPrimitive Description { get; }
Property Value
ImagePrimitive
Declaration
public ImagePrimitive ImagePrimitive { get; }
Property Value
InternalLayoutPanel
Declaration
public ImageAndTextLayoutPanel InternalLayoutPanel { get; }
Property Value
TextPanel
Declaration
public StackLayoutPanel TextPanel { get; }
Property Value
TextSeparator
Declaration
public LinePrimitive TextSeparator { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetClientRectangle(SizeF)
Declaration
protected override RectangleF GetClientRectangle(SizeF finalSize)
Parameters
finalSize
Returns
Overrides
IsLeftColumnElement(RadElement)
Declaration
protected virtual bool IsLeftColumnElement(RadElement element)
Parameters
element
Returns
IsLeftContent(RadElement)
Declaration
protected virtual bool IsLeftContent(RadElement element)
Parameters
element
Returns
IsRightColumnElement(RadElement)
Declaration
protected virtual bool IsRightColumnElement(RadElement element)
Parameters
element
Returns
IsRightContent(RadElement)
Declaration
protected virtual bool IsRightContent(RadElement element)
Parameters
element
Returns
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing information about the property change.
Overrides