InteropBitmap.Invalidate Method (Nullable<Int32Rect>)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
public void Invalidate(
	Nullable<Int32Rect> dirtyRect
)

Parameters

dirtyRect
Type: System.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.

Exception Condition
InvalidOperationException

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

SecurityPermission

to call this method. Associated enumeration: UnmanagedCode

.NET Framework
Available since 4.5
Return to top
Show: