Skip to main content

NavElement.SmallImageSize Property

Gets or sets the size for the current NavElement‘s small image.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Size SmallImageSize { get; set; }

Property Value

Type Description
Size

A Size structure that is the size for the current NavElement‘s small 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 SmallImageSize property specifies the small icon size for the current NavElement. You can reset the icon size to the image’s original dimensions by setting the SmallImageSize property to the NavElement.DefaultImageSize value.

See Also