Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

BaseMenuItemGroup.RightIconCellWidth Property

Gets or sets the width reserved for right icon cell during runtime if right icon is not specified.

[Visual Basic]
Public Property RightIconCellWidth As Int32
[C#]
public Int32 RightIconCellWidth {get; set;}

Property Value

System.Int32

The width reserved for right icon cell during runtime if right icon is not specified.

Remarks

If an item has no right icon, you can use RightIconCellWidth to reserve space for an empty right icon so that this item can align to items that have right icon.

By default, item group automatically adjusts left and right icon cell width to make sure the text cell of items in a vertical group are aligned. EO.Web controls determines the maximum width of right icon cell and apply it to all right icon cells. Same logic applies to left icon.

However, adjustment cannot be done if no item in the group has left or right icon specified. This may cause item text shift to the left when an icon is provided later through client side script interface. In this case, you can use RightIconCellWidth to force the space to be reserved when the group is firstly rendered.

Tip:  If you do not want to reserve space for certain items, set this property to 0 to disable automatic icon alignment.

See Also

BaseMenuItemGroup Class | EO.Web Namespace


Direct link to this topic