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.v21.1.dll

Declaration

public Stretch Stretch { get; set; }

Property Value

Type Description
Stretch

One of the Stretch enumeration values.

Property Paths

You can access this nested property as listed below:

Object Type Path to Stretch
ExplorerBarView
NavBarGroup
NavBarItem
NavBarItemControl
.ImageSettings.Stretch
NavBarViewBase
NavigationPaneView
SideBarView

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