Skip to main content

SvgImageBox.SvgImage Property

Gets or sets the SVG image.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

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