Skip to main content
A newer version of this page is available. .
Tab

ASPxSiteMapDataSource.Provider Property

Gets or sets a site map provider object associated with the data source control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public SiteMapProvider Provider { get; set; }

Property Value

Type Description
SiteMapProvider

A SiteMapProvider object associated with the data source control; otherwise, if no provider is explicitly set, the default site map provider is returned.

Remarks

Use the Provider property to specify the site map provider instance to use with the data source control. The instance can be different than the provider that is identified by the ASPxSiteMapDataSource.SiteMapProvider property, if set.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Provider 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