ControlMutationExtensions.SuspendPainting 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.
Overloads
| Name | Description |
|---|---|
| SuspendPainting(ISupportSuspendPainting) | |
| SuspendPainting(ISupportSuspendPainting, Func<Control,Boolean>) | |
| SuspendPainting(ISupportSuspendPainting, LayoutSuspendTraversal) |
SuspendPainting(ISupportSuspendPainting)
public:
[System::Runtime::CompilerServices::Extension]
static IDisposable ^ SuspendPainting(System::Windows::Forms::ISupportSuspendPainting ^ target);
public static IDisposable SuspendPainting(this System.Windows.Forms.ISupportSuspendPainting target);
static member SuspendPainting : System.Windows.Forms.ISupportSuspendPainting -> IDisposable
<Extension()>
Public Function SuspendPainting (target As ISupportSuspendPainting) As IDisposable
Parameters
- target
- ISupportSuspendPainting
Returns
Applies to
SuspendPainting(ISupportSuspendPainting, Func<Control,Boolean>)
public:
[System::Runtime::CompilerServices::Extension]
static IDisposable ^ SuspendPainting(System::Windows::Forms::ISupportSuspendPainting ^ target, Func<System::Windows::Forms::Control ^, bool> ^ suspendLayoutContainerFilter);
public static IDisposable SuspendPainting(this System.Windows.Forms.ISupportSuspendPainting target, Func<System.Windows.Forms.Control,bool> suspendLayoutContainerFilter);
static member SuspendPainting : System.Windows.Forms.ISupportSuspendPainting * Func<System.Windows.Forms.Control, bool> -> IDisposable
<Extension()>
Public Function SuspendPainting (target As ISupportSuspendPainting, suspendLayoutContainerFilter As Func(Of Control, Boolean)) As IDisposable
Parameters
- target
- ISupportSuspendPainting
Returns
Applies to
SuspendPainting(ISupportSuspendPainting, LayoutSuspendTraversal)
public:
[System::Runtime::CompilerServices::Extension]
static IDisposable ^ SuspendPainting(System::Windows::Forms::ISupportSuspendPainting ^ target, System::Windows::Forms::LayoutSuspendTraversal layoutSuspendTraversal);
public static IDisposable SuspendPainting(this System.Windows.Forms.ISupportSuspendPainting target, System.Windows.Forms.LayoutSuspendTraversal layoutSuspendTraversal);
static member SuspendPainting : System.Windows.Forms.ISupportSuspendPainting * System.Windows.Forms.LayoutSuspendTraversal -> IDisposable
<Extension()>
Public Function SuspendPainting (target As ISupportSuspendPainting, layoutSuspendTraversal As LayoutSuspendTraversal) As IDisposable
Parameters
- target
- ISupportSuspendPainting
- layoutSuspendTraversal
- LayoutSuspendTraversal