NavElement.LargeImageSize Property

Gets or sets the size of the current NavElement's large image.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

[Browsable(false)]
public virtual Size LargeImageSize { get; set; }
<Browsable(False)>
Public Overridable Property LargeImageSize As Size

Property Value

Type Description
Size

A Size structure that is the size of the current NavElement's large image.

Remarks

A NavElement can have both large and small icons. You can set them via the NavElement.LargeImage and NavElement.SmallImage properties respectively. Use the NavBarGroup.GroupCaptionUseImage property for NavBarGroups and the NavBarGroup.GroupStyle property for NavBarItems to choose whether a large or small icon should be displayed.

The LargeImageSize property specifies the large icon size for the current NavElement. You can reset the icon size to the image's original dimensions by setting the LargeImageSize property to the NavElement.DefaultImageSize value.

See Also