Back to Devexpress

ImageSettings.Width Property

wpf-devexpress-dot-xpf-dot-navbar-dot-imagesettings-6e730ad6.md

latest3.2 KB
Original Source

ImageSettings.Width Property

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

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public double Width { get; set; }
vb
Public Property Width As Double

Property Value

TypeDescription
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 TypePath to Width
ImageSettings

.GroupDefault .Width

| | ImageSettings |

.ItemDefault .Width

| | NavBarGroup |

.ActualImageSettings .Width

| | NavBarGroup |

.ImageSettings .Width

| | NavBarGroup |

.ItemImageSettings .Width

| | NavBarItem |

.ActualImageSettings .Width

| | NavBarItem |

.ImageSettings .Width

| | NavBarItemControl |

.ImageSettings .Width

| | NavBarViewBase |

.GroupImageSettings .Width

| | NavBarViewBase |

.ItemImageSettings .Width

|

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

Height

ImageSettings Class

ImageSettings Members

DevExpress.Xpf.NavBar Namespace