BehaviorService.Invalidate Method

Definition

Invalidates the adorner window of the BehaviorService.

Overloads

Invalidate()

Invalidates the adorner window of the BehaviorService.

Invalidate(Rectangle)

Invalidates, within the adorner window, the specified area of the BehaviorService.

Invalidate(Region)

Invalidates, within the adorner window, the specified area of the BehaviorService.

Invalidate()

Source:
BehaviorService.cs
Source:
BehaviorService.cs
Source:
BehaviorService.cs

Invalidates the adorner window of the BehaviorService.

C#
public void Invalidate();

Remarks

Calling the Invalidate method forces a refresh of all Adorner objects and, in turn, all Glyph objects.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 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(Rectangle)

Source:
BehaviorService.cs
Source:
BehaviorService.cs
Source:
BehaviorService.cs

Invalidates, within the adorner window, the specified area of the BehaviorService.

C#
public void Invalidate(System.Drawing.Rectangle rect);

Parameters

rect
Rectangle

The rectangular area to invalidate.

Remarks

The Invalidate method will force a refresh of all Adorners and, in turn, all Glyphs.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 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(Region)

Source:
BehaviorService.cs
Source:
BehaviorService.cs
Source:
BehaviorService.cs

Invalidates, within the adorner window, the specified area of the BehaviorService.

C#
public void Invalidate(System.Drawing.Region r);

Parameters

r
Region

The region to invalidate.

Remarks

The Invalidate method will force a refresh of all Adorners and, in turn, all Glyphs.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 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