Redigera

Dela via


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.

public:
 void Invalidate();
[System.Security.SecurityCritical]
public void Invalidate ();
public void Invalidate ();
[<System.Security.SecurityCritical>]
member this.Invalidate : unit -> unit
member this.Invalidate : unit -> unit
Public Sub Invalidate ()
Attributes

Exceptions

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

Applies to

Invalidate(Nullable<Int32Rect>)

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

public:
 void Invalidate(Nullable<System::Windows::Int32Rect> dirtyRect);
[System.Security.SecurityCritical]
public void Invalidate (System.Windows.Int32Rect? dirtyRect);
public void Invalidate (System.Windows.Int32Rect? dirtyRect);
[<System.Security.SecurityCritical>]
member this.Invalidate : Nullable<System.Windows.Int32Rect> -> unit
member this.Invalidate : Nullable<System.Windows.Int32Rect> -> unit
Public Sub Invalidate (dirtyRect As Nullable(Of Int32Rect))

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