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

SvgImageBox.SvgImage Property

Gets or sets the SVG image.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DefaultValue(null)]
public SvgImage SvgImage { get; set; }

#Property Value

Type Default Description
SvgImage null

The displayed SVG image.

#Remarks

You can assign an SVG image at design time and in code.

svgImageBox1.SvgImage = DevExpress.Utils.Svg.SvgImage.FromFile(@"theater.svg");

At design time, you can access and customize the loaded image’s elements with control’s designer.

See Also