DrawListViewColumnHeaderEventArgs.DrawText Method
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.
Draws the column header text.
Overloads
DrawText() |
Draws the column header text using the default formatting. |
DrawText(TextFormatFlags) |
Draws the column header text, formatting it with the specified TextFormatFlags values. |
DrawText()
Draws the column header text using the default formatting.
public:
void DrawText();
public void DrawText ();
member this.DrawText : unit -> unit
Public Sub DrawText ()
Remarks
Use this method when you do not need to customize the appearance of the header text.
See also
Applies to
DrawText(TextFormatFlags)
Draws the column header text, formatting it with the specified TextFormatFlags values.
public:
void DrawText(System::Windows::Forms::TextFormatFlags flags);
public void DrawText (System.Windows.Forms.TextFormatFlags flags);
member this.DrawText : System.Windows.Forms.TextFormatFlags -> unit
Public Sub DrawText (flags As TextFormatFlags)
Parameters
- flags
- TextFormatFlags
A bitwise combination of TextFormatFlags values.
Remarks
Use this method when you do not need to customize the appearance of the header text. The TextFormatFlags values specified in the flags
parameter let you provide formatting properties for the header, such as text alignment.
See also
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈