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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈