DataGrid.HeaderFont 属性

定义

获取或设置用于列标题的字体。

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

属性值

表示标题文本的 < a0/>

注解

通常仅当为 System.Windows.Forms.DataGrid 创建设计器或创建包含 System.Windows.Forms.DataGrid 的控件时,才使用此方法。

适用于