ElementPosition.Y Propriedade

Definição

Obtém ou define a coordenada Y relativa do canto superior esquerdo de um elemento do gráfico aplicável.Gets or sets the relative Y-coordinate of the top-left corner of an applicable chart element.

public:
 property float Y { float get(); void set(float value); };
[System.ComponentModel.Bindable(true)]
public float Y { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Y : single with get, set
Public Property Y As Single

Valor da propriedade

Single

Um float valor que representa a coordenada Y do canto superior esquerdo de um elemento de gráfico aplicável.A float value that represents the Y-coordinate of the top-left corner of an applicable chart element.

Atributos

Comentários

A Y propriedade é sempre expressa em coordenadas relativas e é relativa a um ChartArea objeto, se plotada em uma área de gráfico, ou relativa à imagem de gráfico inteira se ela for plotada fora de um elemento de área do gráfico.The Y property is always expressed in relative coordinates, and is either relative to a ChartArea object if plotted within a chart area, or relative to the entire chart image if plotted outside of a chart area element.

Essa propriedade sempre usa coordenadas relativas; Se você definir um valor fora do intervalo de 0-100 pixels, uma exceção será lançada.This property always uses relative coordinates; if you set a value outside the 0-100 pixel range, an exception will be thrown.

Aplica-se a