Skip to main content

WmsCustomParameterCollection.Item[String] Property

Gets or sets a custom parameter value by its key.

Namespace: DevExpress.Xpf.Map

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

Declaration

public string this[string key] { get; set; }

Parameters

Name Type Description
key String

A custom parameter key.

Property Value

Type Description
String

A custom parameter value.

Remarks

The following code gets the value of the custom parameter that has the format key:

 <dxm:WmsDataProvider x:Name="WmsDataProvider1"
                      ServerUri="http://INSERT_YOUR_SERVER_URI"
                      ActiveLayerName="Layer_OSM"/>
WmsDataProvider1.CustomParameters.Add("format", "Image / jpeg");
WmsDataProvider1.CustomParameters.Add("ver", "3.24");
//...
string parameterValue = WmsDataProvider1.CustomParameters["format"];
See Also