Represents settings controlling child item behavior.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadMenuItemGroupSettings : ObjectWithState
Inheritance: objectObjectWithStateRadMenuItemGroupSettings
Inherited Members
Properties
Gets or sets the direction in which child items will open.
public ExpandDirection ExpandDirection { get; set; }
One of the ExpandDirection enumeration values. The default value is Auto.
Use the ExpandDirection property to specify different expand direction than the automatically determined one. See the ExpandDirection description for more information.
Gets or sets the flow of child items.
public ItemFlow Flow { get; set; }
One of the ItemFlow enumeration values. The default value is Vertical.
Use the Flow property to customize the flow of child menu items. By default RadMenu mimics the behavior of Windows and child items (apart from top level ones) flow vertically.
Gets or sets a value indicating the height of child menu items (the whole item group).
public Unit Height { get; set; }
A Unit that represents the height of the child item group. The default value is Unit.Empty.
If the total height of menu items exceeds the Height property scrolling will be applied.
Gets or sets a value indicating the horizontal offset of child menu items considering their parent.
public int OffsetX { get; set; }
An integer specifying the horizontal offset of child menu items (measured in pixels). The default value is 0 (no offset).
Use the OffsetX property to change the position where child items will appear.
To customize the vertical offset use the OffsetY property.
Gets or sets a value indicating the vertical offset of child menu items considering their parent.
public int OffsetY { get; set; }
An integer specifying the vertical offset of child menu items (measured in pixels). The default value is 0 (no offset).
Use the OffsetY property to change the position where child items will appear.
To customize the horizontal offset use the OffsetX property.
Gets or sets the number of columns to display in this item group.
public int RepeatColumns { get; set; }
Specifies the number of columns which are displayed for a given item group. For example, if it set to 3, the child items are displayed in three columns. The default value is 1.
Displaying more than 1 column automatically disables scrolling for this group.
Gets or sets whether the columns are repeated vertically or horizontally
public MenuRepeatDirection RepeatDirection { get; set; }
When this property is set to Vertical, items are displayed vertically in columns from top to bottom, and then left to right, until all items are rendered.
When this property is set to Horizontal, items are displayed horizontally in rows from left to right, then top to bottom, until all items are rendered.
Gets or sets a value indicating the width of child menu items (the whole item group).
public Unit Width { get; set; }
A Unit that represents the width of the child item group. The default value is Unit.Empty.
If the total width of menu items exceeds the Width property scrolling will be applied.