This documentation is archived and is not being maintained.

Title.IsDockedInsideChartArea Property

Gets or sets a flag that specifies whether the title should be docked within a ChartArea object.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public bool IsDockedInsideChartArea { get; set; }

Property Value

Type: System.Boolean
True if the title will be docked within a chart area, false if the title will be docked outside the chart area. The default value is false.

If the IsDockedInsideChartArea property is set to false, the title is docked to the outside edge of the plotted chart areas; if this property is set to true, the title will be docked to the inside edge of the chart area. This property will have no effect if the name of a ChartArea object is not assigned to the DockedToChartArea property.

Note   This behavior only applies if the Position property is set to Auto. If this is not the case, setting the IsDockedInsideChartArea property has no effect, because the position of the title is then determined by the Position property value.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.