Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.Controls.DoubleBufferedPanel

  • Assembly: RT.Util, Version=1.0.0.9999, Culture=neutral, PublicKeyToken=null
  • Namespace: RT.Util.Controls
  • Show inherited types...
  • Show implemented interfaces...

Summary

Provides a double-buffered drawing surface with an off-screen buffer. All painting is done into the buffer, which is then blitted onto the screen as required. Repainting of the off-screen buffer is only done on size changes or explicit calls to DoubleBufferedPanel.Refresh().

Constructors

Constructor.

Instance methods

void
  • Overrides: Control.Refresh()
Forces an update of the off-screen buffer, by invoking the DoubleBufferedPanel.PaintBuffer event. Then forces a normal refresh of the underlying panel, which causes the off-screen buffer to be repainted over the whole panel.

Instance properties

bool Gets or sets a value indicating whether the panel should automatically refresh its contents (i.e. call the PaintBuffer event) every time it is resized.
boolGets or sets a value indicating whether the user can give the focus to this control using the TAB key. This property’s value automatically changes every time Text changes; it is set to true if there is a link in the text, false otherwise. To achieve deviant behaviour, set TabStop immediately after setting Text.

Events

PaintEventHandler Occurs when the off-screen buffer needs to be painted.