Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ElementPosition.Width Property

.NET Framework 4.6 and 4.5

Gets or sets the width of a chart element.

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

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public float Width { get; set; }

Property Value

Type: System.Single
A float value that represents the width of a chart element.

This property always uses relative coordinates; if you set a value outside the 0-100 pixel range, an exception will be thrown.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft