ElementPosition.Auto 属性

定义

获取或设置一个标志,该标志确定 Chart 控件是否自动定位适用的图表元素。Gets or sets a flag that determines whether an applicable chart element will be positioned automatically by the Chart control.

public:
 property bool Auto { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public bool Auto { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Auto : bool with get, set
Public Property Auto As Boolean

属性值

Boolean

如果图表元素将由图表控件自动放置,则为 true;否则,为 falsetrue if the chart element will be positioned automatically by the chart control; otherwise, false.

属性

注解

使用此属性可自动定位图表元素。Use this property to automatically position a chart element. 例如,若要自动定位图例,请将 Position 属性设置为 AutoFor example, to position the legend automatically, set the Position property to Auto.

适用于