Back to Devexpress

WmsCustomParameterCollection Class

wpf-devexpress-dot-xpf-dot-map-c91f0ed2.md

latest2.4 KB
Original Source

WmsCustomParameterCollection Class

Contains a collection of web map service custom parameters.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
[NonCategorized]
public class WmsCustomParameterCollection :
    MapDependencyObject,
    IDictionary,
    ICollection,
    IEnumerable
vb
<NonCategorized>
Public Class WmsCustomParameterCollection
    Inherits MapDependencyObject
    Implements IDictionary,
               ICollection,
               IEnumerable

The following members return WmsCustomParameterCollection objects:

Remarks

The following example adds two custom parameters to the CustomParameters collection:

xaml
<dxm:WmsDataProvider x:Name="WmsDataProvider1"
                      ServerUri="http://INSERT_YOUR_SERVER_URI"
                      ActiveLayerName="Layer_OSM"/>
csharp
WmsDataProvider1.CustomParameters.Add("format", "Image / jpeg");
WmsDataProvider1.CustomParameters.Add("ver", "3.24");
vb
WmsDataProvider1.CustomParameters.Add("format", "Image / jpeg")
WmsDataProvider1.CustomParameters.Add("ver", "3.24")

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject WmsCustomParameterCollection

See Also

WmsCustomParameterCollection Members

DevExpress.Xpf.Map Namespace