Skip to main content
A newer version of this page is available. .

ImageSettings.Width Property

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

Namespace: DevExpress.Xpf.NavBar

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation

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
ExplorerBarView
NavBarGroup
NavBarItem
.ImageSettings .Width
NavBarItemControl
.ImageSettings .Width
NavBarViewBase
NavigationPaneView
SideBarView

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