InteropBitmap.Invalidate Method

Definition

Forces the hosted non-WPF UI to be rendered.

Overloads

Invalidate()

Forces the hosted non-WPF UI to be rendered.

Invalidate(Nullable<Int32Rect>)

Forces the specified area of the hosted non-WPF UI to be rendered.

Invalidate()

Forces the hosted non-WPF UI to be rendered.

C#
[System.Security.SecurityCritical]
public void Invalidate();
C#
public void Invalidate();
Attributes

Exceptions

The InteropBitmap instance is frozen and cannot have its members written to.

Applies to

.NET Framework 4.8.1 및 기타 버전
제품 버전
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Invalidate(Nullable<Int32Rect>)

Forces the specified area of the hosted non-WPF UI to be rendered.

C#
[System.Security.SecurityCritical]
public void Invalidate(System.Windows.Int32Rect? dirtyRect);
C#
public void Invalidate(System.Windows.Int32Rect? dirtyRect);

Parameters

dirtyRect
Nullable<Int32Rect>

The area of the hosted non-WPF UI to be rendered. If this parameter is null, the entire non-WPF UI is rendered.

Attributes

Exceptions

The InteropBitmap instance is frozen and cannot have its members written to.

Applies to

.NET Framework 4.8.1 및 기타 버전
제품 버전
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10