Skip to main content

ImageSettings.Width Property

Gets or set the image width. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v23.2.dll

NuGet Package: DevExpress.Wpf.NavBar

Declaration

public double Width { get; set; }

Property Value

Type Description
Double

Type: Double

The width of an image, in device-independent units (1/96th inch per unit).

Property Paths

You can access this nested property as listed below:

Object Type Path to Width
ImageSettings
.GroupDefault .Width
ImageSettings
.ItemDefault .Width
NavBarGroup
NavBarGroup
.ImageSettings .Width
NavBarGroup
NavBarItem
NavBarItem
.ImageSettings .Width
NavBarItemControl
.ImageSettings .Width
NavBarViewBase
NavBarViewBase

Remarks

You can use the ImageSettings.Height and Width properties to define the image display size. If the specified size differs from an image’s physical size, the ImageSettings.Stretch and ImageSettings.StretchDirection properties can be used to define the manner in which the image should be stretched.

See Also