Chart.IsMapAreaAttributesEncoded Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a flag that determines whether map area attributes are encoded. The map area attributes can load data from various data sources. The Chart control does not prevent an end user from loading untrusted data from various data sources. For this reason, it is recommended that you validate the data and encode it yourself.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public bool IsMapAreaAttributesEncoded { get; set; }

Property Value

Type: System.Boolean

true if map area attributes are encoded; otherwise, false.

.NET Framework
Available since 4.0
Return to top