LegendCellColumn.Font Propriedade
Definição
Obtém ou define a fonte para o texto da coluna de legenda.Gets or sets the font for the legend column text.
public:
virtual property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Overridable Property Font As Font
Valor da propriedade
Um Font objeto que especifica a fonte para o texto da coluna de legenda.A Font object that specifies the font for the legend column text. O valor padrão é null.The default value is null.
Comentários
Essa propriedade só é aplicável quando o LegendCellColumnType é definido como Text , e um string valor é definido para a Text propriedade.This property is only applicable when the LegendCellColumnType is set to Text, and a string value is defined for the Text property. Você pode usar a Font propriedade para definir as propriedades de fonte da coluna de célula da legenda.You can use the Font property to set font properties of the legend cell column.
Se você tentar alterar as propriedades desse Font objeto em tempo de execução, ocorrerá um erro de compilação.If you attempt to change the properties of this Font object at run time, a compilation error will occur. Para definir propriedades de fonte em tempo de execução, você deve criar um novo Font objeto.To set font properties at run time, you must create a new Font object.