ListView.Paint Event
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.
Occurs when the ListView control is painted.
public:
event System::Windows::Forms::PaintEventHandler ^ Paint;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.PaintEventHandler Paint;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.PaintEventHandler? Paint;
[<System.ComponentModel.Browsable(false)>]
member this.Paint : System.Windows.Forms.PaintEventHandler
Public Custom Event Paint As PaintEventHandler
Event Type
- Attributes
Remarks
The ListView control is drawn by the operating system or is owner drawn, so the Paint event is never raised. For more information about owner-drawing, see the OwnerDraw property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.