DataGrid.CaptionFont Propiedad

Definición

Obtiene o establece la fuente del título de la cuadrícula.

public:
 property System::Drawing::Font ^ CaptionFont { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font CaptionFont { get; set; }
member this.CaptionFont : System.Drawing.Font with get, set
Public Property CaptionFont As Font

Valor de propiedad

Font que representa la fuente del título.

Ejemplos

En el ejemplo de código siguiente se establece la fuente del título mediante un Font objeto .

Private Sub SetCaptionFont(ByRef myGrid As DataGrid, newFont As System.Drawing.Font)
    myGrid.CaptionFont = newFont
 End Sub

Comentarios

Un Font encapsula una fuente de Windows y proporciona los métodos para manipular esa fuente.

Se aplica a

Consulte también