Επεξεργασία

Κοινή χρήση μέσω


ChartArea.AlignmentStyle Property

Definition

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.

Applies to