ControlMutationExtensions.SuspendPainting Method

Definition

Overloads

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

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

suspendLayoutContainerFilter
Func<Control,Boolean>

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

layoutSuspendTraversal
LayoutSuspendTraversal

Returns

Applies to