DrawListViewColumnHeaderEventArgs.DrawText 方法        
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
绘制列标题文本。
重载
| DrawText() | 使用默认格式绘制列标题文本。 | 
| DrawText(TextFormatFlags) | 绘制列标题文本,用指定的 TextFormatFlags 值对该文本进行格式化。 | 
DrawText()
使用默认格式绘制列标题文本。
public:
 void DrawText();public void DrawText ();member this.DrawText : unit -> unitPublic Sub DrawText ()注解
当不需要自定义标题文本的外观时,请使用此方法。
另请参阅
适用于
DrawText(TextFormatFlags)
绘制列标题文本,用指定的 TextFormatFlags 值对该文本进行格式化。
public:
 void DrawText(System::Windows::Forms::TextFormatFlags flags);public void DrawText (System.Windows.Forms.TextFormatFlags flags);member this.DrawText : System.Windows.Forms.TextFormatFlags -> unitPublic Sub DrawText (flags As TextFormatFlags)参数
- flags
- TextFormatFlags
TextFormatFlags 值的按位组合。
注解
当不需要自定义标题文本的外观时,请使用此方法。 通过 TextFormatFlags 参数中指定的 flags 值,可以为标头提供格式属性,例如文本对齐方式。