Back to Devexpress

NavBarGroup.GetImageSize() Method

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-c18d0dc1.md

latest1.6 KB
Original Source

NavBarGroup.GetImageSize() Method

Returns the width and height of the image displayed within the group caption.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public virtual Size GetImageSize()
vb
Public Overridable Function GetImageSize As Size

Returns

TypeDescription
Size

A System.Drawing.Size structure specifying the width and height of the image displayed within the group caption.

|

Remarks

Each group can display a small or large image within its caption depending on the NavBarGroup.GroupCaptionUseImage property’s value. The GetImageSize method returns the size of the image. The image itself can be obtained via the NavBarGroup.GetImage property.

See Also

GetImage()

GroupCaptionUseImage

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace