DataGrid.CaptionFont 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 font of the grid's caption.
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
Property Value
A Font that represents the caption's font.
Examples
The following code example sets the caption's font using a Font object.
Private Sub SetCaptionFont(ByRef myGrid As DataGrid, newFont As System.Drawing.Font)
myGrid.CaptionFont = newFont
End Sub
Remarks
A Font encapsulates a Windows font and provides the methods for manipulating that font.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.