ChartArea.AlignmentStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the alignment style of the ChartArea.
public:
property System::Windows::Forms::DataVisualization::Charting::AreaAlignmentStyles AlignmentStyle { System::Windows::Forms::DataVisualization::Charting::AreaAlignmentStyles get(); void set(System::Windows::Forms::DataVisualization::Charting::AreaAlignmentStyles value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.AreaAlignmentStyles AlignmentStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.AlignmentStyle : System.Windows.Forms.DataVisualization.Charting.AreaAlignmentStyles with get, set
Public Property AlignmentStyle As AreaAlignmentStyles
Property Value
An AreaAlignmentStyles enumeration value that can represent either a single value or the bitwise-OR of multiple values that define the alignment to use.
- Attributes
Remarks
Use the AlignmentStyle property to align two or more chart areas horizontally, vertically or both. The alignment type is one of the following values, or a bitwise OR combination of the values below.
Member Name | Description |
---|---|
All | Chart areas are aligned using all values. |
AxesView | Chart areas are aligned using the View of the specified ChartArea. |
Cursor | Chart areas are aligned on the cursor. |
None | Chart areas are not automatically aligned. |
Position | Chart areas are aligned with the Position of the chart area specified. |
InnerPlotPosition | Chart areas are aligned with the InnerPlotPosition of the chart area specified. |
If the AlignWithChartArea value is not set, the AlignmentStyle property will have no effect.