Is it possible to set the spatial extent for a wfs layer programmatically? In the properties for the layer, you can click a check box to "use spatial extent," and then provide the x/y min/max values. Thanks!
I am using the following to add the layer, which returns a Layer object:
LayerFactory.Instance.CreateLayer<FeatureLayer>(layerCreationParams, MapView.Active.Map);