Back to Devexpress

ImageSettings.Stretch Property

wpf-devexpress-dot-xpf-dot-navbar-dot-imagesettings-10cab895.md

latest3.4 KB
Original Source

ImageSettings.Stretch Property

Gets or sets a value that specifies how an image should be stretched to fill the available space. This is a dependency property.

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public Stretch Stretch { get; set; }
vb
Public Property Stretch As Stretch

Property Value

TypeDescription
Stretch

One of the Stretch enumeration values.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Stretch
ImageSettings

.GroupDefault .Stretch

| | ImageSettings |

.ItemDefault .Stretch

| | NavBarGroup |

.ActualImageSettings .Stretch

| | NavBarGroup |

.ImageSettings .Stretch

| | NavBarGroup |

.ItemImageSettings .Stretch

| | NavBarItem |

.ActualImageSettings .Stretch

| | NavBarItem |

.ImageSettings .Stretch

| | NavBarItemControl |

.ImageSettings .Stretch

| | NavBarViewBase |

.GroupImageSettings .Stretch

| | NavBarViewBase |

.ItemImageSettings .Stretch

|

Remarks

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

See Also

StretchDirection

Width

Height

ImageSettings Class

ImageSettings Members

DevExpress.Xpf.NavBar Namespace