Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageSettings.StretchDirection Property

Gets or sets a value that specifies how an image is scaled. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public StretchDirection StretchDirection { get; set; }

#Property Value

Type Description
StretchDirection

One of the StretchDirection enumeration values.

#Property Paths

You can access this nested property as listed below:

Object Type Path to StretchDirection
ImageSettings
.GroupDefault .StretchDirection
ImageSettings
.ItemDefault .StretchDirection
NavBarGroup
.ActualImageSettings .StretchDirection
NavBarGroup
.ImageSettings .StretchDirection
NavBarGroup
.ItemImageSettings .StretchDirection
NavBarItem
.ActualImageSettings .StretchDirection
NavBarItem
.ImageSettings .StretchDirection
NavBarItemControl
.ImageSettings .StretchDirection
NavBarViewBase
.GroupImageSettings .StretchDirection
NavBarViewBase
.ItemImageSettings .StretchDirection

#Remarks

This property specifies in what scaling directions ImageSettings.Stretch should be applied.

See Also