- Assembly: RT.Util, Version=1.0.0.9999, Culture=neutral, PublicKeyToken=null
- Namespace: RT.Util.Controls
- Show inherited types...
Inherits from:
- System.Windows.Forms.Panel
- System.Windows.Forms.ScrollableControl
- System.Windows.Forms.Control
- System.ComponentModel.Component
- System.MarshalByRefObject
- Show implemented interfaces...
Implements:
- System.Windows.Forms.Layout.IArrangedElement
- System.Windows.Forms.IBindableComponent
- System.ComponentModel.IComponent
- System.IDisposable
- System.Windows.Forms.IDropTarget
- System.Windows.Forms.UnsafeNativeMethods.IOleControl
- System.Windows.Forms.UnsafeNativeMethods.IOleInPlaceActiveObject
- System.Windows.Forms.UnsafeNativeMethods.IOleInPlaceObject
- System.Windows.Forms.UnsafeNativeMethods.IOleObject
- System.Windows.Forms.UnsafeNativeMethods.IOleWindow
- System.Windows.Forms.UnsafeNativeMethods.IPersist
- System.Windows.Forms.UnsafeNativeMethods.IPersistPropertyBag
- System.Windows.Forms.UnsafeNativeMethods.IPersistStorage
- System.Windows.Forms.UnsafeNativeMethods.IPersistStreamInit
- System.Windows.Forms.UnsafeNativeMethods.IQuickActivate
- System.Windows.Forms.ISupportOleDropSource
- System.ComponentModel.ISynchronizeInvoke
- System.Windows.Forms.UnsafeNativeMethods.IViewObject
- System.Windows.Forms.UnsafeNativeMethods.IViewObject2
- System.Windows.Forms.IWin32Window
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
Instance methods
void | |
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. |
bool | |
Gets 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. |