InteropBitmap.Invalidate 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.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för