Back to Devexpress

NavElement.LargeImageSize Property

windowsforms-devexpress-dot-xtranavbar-dot-navelement-17475bdf.md

latest2.6 KB
Original Source

NavElement.LargeImageSize Property

Use the LargeImageSize option accessible in NavElement.ImageOptions to get/set the size of the current NavElement‘s large image.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Size LargeImageSize { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property LargeImageSize As Size

Property Value

TypeDescription
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 using LargeImage and SmallImage options accessible in NavElement.ImageOptions. 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

ImageOptions

GroupCaptionUseImage

GroupStyle

NavElement Class

NavElement Members

DevExpress.XtraNavBar Namespace