Skip to main content

BaseSvgImageSourceExtension.ProvideValue(IServiceProvider) Method

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public override object ProvideValue(
    IServiceProvider serviceProvider
)

Parameters

Name Type Description
serviceProvider IServiceProvider

A service provider helper that can provide services for the markup extension.

Returns

Type Description
Object

The object value to set on the property where the extension is applied.

Remarks

Refer to the SVG Images topic for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProvideValue(IServiceProvider) method.

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