Title.IsDockedInsideChartArea 属性

定义

获取或设置指定标题是否应停靠于 ChartArea 对象之内的标志。

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

属性值

如果标题将在图表区域内停靠,则为 true;如果标题将在图表区域外停靠,则为 false。 默认值是 false

属性

注解

如果 属性 IsDockedInsideChartArea 设置为 false,则标题将停靠在绘制的图表区域的外边缘;如果此属性设置为 true,则标题将停靠到图表区域的内边缘。 如果未将对象的名称 ChartArea 分配给 DockedToChartArea 属性,则此属性将不起作用。

注意仅当 属性设置为 Auto时,Position此行为才适用。如果不是这种情况,则设置IsDockedInsideChartArea属性不起作用,因为标题的位置由Position属性值决定。

适用于