Skip to main content
Bar

BarItemImageOptions.SvgImage Property

Gets or sets a vector image displayed in the item.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public override SvgImage SvgImage { get; set; }

Property Value

Type Default Description
SvgImage null

An DevExpress.Utils.Svg.SvgImage object that specifies the vector image displayed in the item.

Property Paths

You can access this nested property as listed below:

Object Type Path to SvgImage
BarButtonItem
.ImageOptions .SvgImage
BarItem
.ImageOptions .SvgImage
BarItemLink
.ImageOptions .SvgImage

Remarks

See this article to learn more about SVG icon support in DevExpress controls.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SvgImage property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also