Table of Contents

Method Invalidate

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Invalidate(RectD)

Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.

public virtual void Invalidate(RectD rect)

Parameters

rect RectD

A RectD that represents the region to invalidate.

Invalidate()

Invalidates the control and causes a paint message to be sent to the control.

public virtual void Invalidate()

Invalidate(Region?, bool)

Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.

public virtual void Invalidate(Region? region, bool invalidateChildren = false)

Parameters

region Region

The Region to invalidate.

invalidateChildren bool

true to invalidate the control's child controls; otherwise, false.