The DoubleBufferingControl type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DoubleBufferingControl |
Initializes a new instance of DoubleBufferingControl |
Methods
| Name | Description | |
|---|---|---|
| BeginInvoke | Overloaded. | |
| BringToFront |
Brings the control to the front of the z-order.
(Inherited from Control.) | |
| CreateControlsInstance |
Creates a new instance of the control collection for the control.
(Inherited from Control.) | |
| CreateGraphics |
Creates the Graphics for the control.
(Inherited from Control.) | |
| CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| Dispose | Overloaded. | |
| Draw |
Override this method to draw on Off-screen graphics.
| |
| DrawBackground |
Override this method to draw background on Off-screen graphics.
| |
| EndInvoke |
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
| Focus |
Sets input focus to the control.
(Inherited from Control.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetScaledBounds |
Retrieves the bounds within which the control is scaled.
(Inherited from Control.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Hide |
Conceals the control from the user.
(Inherited from Control.) | |
| InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| Invalidate | Overloaded. | |
| Invoke | Overloaded. | |
| MemberwiseClone | Overloaded. | |
| OnBindingContextChanged |
Raises the BindingContextChanged event.
(Inherited from Control.) | |
| OnClick |
Raises the Click event.
(Inherited from Control.) | |
| OnDoubleClick |
Raises the DoubleClick event.
(Inherited from Control.) | |
| OnEnabledChanged |
Raises the EnabledChanged event.
(Inherited from Control.) | |
| OnGotFocus |
Raises the GotFocus event.
(Inherited from Control.) | |
| OnHandleCreated |
Raises the HandleCreated event.
(Inherited from Control.) | |
| OnHandleDestroyed |
Raises the HandleDestroyed event.
(Inherited from Control.) | |
| OnHelpRequested |
Raises the HelpRequested event.
(Inherited from Control.) | |
| OnKeyDown |
Raises the KeyDown event.
(Inherited from Control.) | |
| OnKeyPress |
Raises the KeyPress event.
(Inherited from Control.) | |
| OnKeyUp |
Raises the KeyUp event.
(Inherited from Control.) | |
| OnLostFocus |
Raises the LostFocus event.
(Inherited from Control.) | |
| OnMouseDown |
Raises the MouseDown event.
(Inherited from Control.) | |
| OnMouseMove |
Raises the MouseMove event.
(Inherited from Control.) | |
| OnMouseUp |
Raises the MouseUp event.
(Inherited from Control.) | |
| OnPaint |
Raises the System.Windows.Forms.Control.Paint event.
(Overrides Control..::.OnPaint(PaintEventArgs).) | |
| OnPaintBackground |
Paints the background of the control.
(Overrides Control..::.OnPaintBackground(PaintEventArgs).) | |
| OnParentChanged |
Fires the ParentChanged event.
(Overrides Control..::.OnParentChanged(EventArgs).) | |
| OnResize |
Raises the Resize event.
(Overrides Control..::.OnResize(EventArgs).) | |
| OnTextChanged |
Raises the TextChanged event.
(Inherited from Control.) | |
| PerformAutoScale |
Performs scaling of the container control and its children.
(Inherited from ContainerControl.) | |
| PointToClient |
Computes the location of the specified screen point into client coordinates.
(Inherited from Control.) | |
| PointToScreen |
Computes the location of the specified client point into screen coordinates.
(Inherited from Control.) | |
| RectangleToClient |
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control.) | |
| RectangleToScreen |
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control.) | |
| ReDrawBackground |
Cause redrawing background and foreground
| |
| ReDrawForeground |
Cause redrawing foreground background is painted from back buffer
| |
| Refresh |
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control.) | |
| ResumeLayout | Overloaded. | |
| Scale |
Scales the control and all child controls by the specified scaling factor.
(Inherited from Control.) | |
| ScaleControl | (Inherited from ScrollableControl.) | |
| SelectNextControl |
Activates the next control.
(Inherited from Control.) | |
| SendToBack |
Sends the control to the back of the z-order.
(Inherited from Control.) | |
| Show |
Displays the control to the user.
(Inherited from Control.) | |
| SuspendLayout |
Temporarily suspends the layout logic for the control.
(Inherited from Control.) | |
| ToString | (Inherited from Object.) | |
| Update |
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.) |
Fields
| Name | Description | |
|---|---|---|
| DirtyBackground |
This members specifies whether the control's client area is dirty.
| |
| DirtyForeground |
This members specifies whether the control's client area is dirty.
| |
| m_BmpBackground |
Background buffer for DoubleBufferingControl.
| |
| m_BmpOffscreen |
Foreground buffer for DoubleBufferingControl.
|
Properties
| Name | Description | |
|---|---|---|
| Anchor |
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control.) | |
| AutoScaleDimensions |
Gets or sets the dimensions that the control was designed to.
(Inherited from ContainerControl.) | |
| AutoScaleFactor |
Gets the scaling factor between the current and design-time automatic scaling dimensions.
(Inherited from ContainerControl.) | |
| AutoScaleMode |
Gets or sets the automatic scaling mode of the control.
(Inherited from ContainerControl.) | |
| AutoScroll |
Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
(Inherited from ScrollableControl.) | |
| AutoScrollMargin |
Gets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl.) | |
| AutoScrollPosition |
Gets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl.) | |
| AutoValidate |
Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes.
(Inherited from ContainerControl.) | |
| BackColor |
Gets or sets the background color for the control.
(Inherited from Control.) | |
| BindingContext | (Inherited from ContainerControl.) | |
| BorderStyle |
Gets or sets the border style of the tree view control.
(Inherited from UserControl.) | |
| Bottom |
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control.) | |
| Bounds |
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control.) | |
| Capture |
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.) | |
| ClientRectangle |
Gets the rectangle that represents the client area of the control.
(Inherited from Control.) | |
| ClientSize |
Gets or sets the height and width of the client area of the control.
(Inherited from Control.) | |
| ContextMenu |
Gets or sets the shortcut menu associated with the control.
(Inherited from Control.) | |
| Controls |
Gets the collection of controls contained within the control.
(Inherited from Control.) | |
| CurrentAutoScaleDimensions |
Gets the current run-time dimensions of the screen.
(Inherited from ContainerControl.) | |
| DataBindings |
Gets the data bindings for the control.
(Inherited from Control.) | |
| Dock |
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.) | |
| Enabled |
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.) | |
| Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
| Focused |
Gets a value indicating whether the control has input focus.
(Inherited from Control.) | |
| Font |
Gets or sets the font of the text displayed by the control.
(Inherited from Control.) | |
| ForeColor |
Gets or sets the foreground color of the control.
(Inherited from Control.) | |
| Handle |
Gets the window handle that the control is bound to.
(Inherited from Control.) | |
| Height |
Gets or sets the height of the control.
(Inherited from Control.) | |
| InvokeRequired |
Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
(Inherited from Control.) | |
| IsDisposed |
Gets a value indicating whether the control has been disposed of.
(Inherited from Control.) | |
| Left |
Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
(Inherited from Control.) | |
| Location |
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control.) | |
| Name |
Gets or sets the name of the control.
(Inherited from Control.) | |
| Parent |
Gets or sets the parent container of the control.
(Inherited from Control.) | |
| Right |
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control.) | |
| ScaleChildren |
Gets a value that determines the scaling of child controls.
(Inherited from Control.) | |
| Site | (Inherited from Component.) | |
| Size |
Gets or sets the height and width of the control.
(Inherited from Control.) | |
| TabIndex |
Gets or sets the tab order of the control within its container.
(Inherited from Control.) | |
| TabStop |
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control.) | |
| Tag |
Gets or sets the object that contains data about the control.
(Inherited from Control.) | |
| Text |
Gets or sets the text associated with this control.
(Inherited from Control.) | |
| Top |
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
(Inherited from Control.) | |
| TopLevelControl |
Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control.) | |
| Visible |
Gets or sets a value indicating whether the control and all its parent controls are displayed.
(Inherited from Control.) | |
| Width |
Gets or sets the width of the control.
(Inherited from Control.) |
Events
| Name | Description | |
|---|---|---|
| Click |
Occurs when the control is clicked.
(Inherited from Control.) | |
| Disposed |
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.) | |
| DoubleClick |
Occurs when the control is double-clicked.
(Inherited from Control.) | |
| EnabledChanged |
Occurs when the Enabled property value has changed.
(Inherited from Control.) | |
| GotFocus |
Occurs when the control receives focus.
(Inherited from Control.) | |
| HandleCreated |
Occurs when a handle is created for the control.
(Inherited from Control.) | |
| HandleDestroyed |
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.) | |
| HelpRequested |
Occurs when the user requests help for a control.
(Inherited from Control.) | |
| KeyDown |
Occurs when a key is pressed while the control has focus.
(Inherited from Control.) | |
| KeyPress |
Occurs when a key is pressed while the control has focus.
(Inherited from Control.) | |
| KeyUp |
Occurs when a key is released while the control has focus.
(Inherited from Control.) | |
| LostFocus |
Occurs when the control loses focus.
(Inherited from Control.) | |
| MouseDown |
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.) | |
| MouseMove |
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.) | |
| MouseUp |
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.) | |
| Paint |
Occurs when the control is redrawn.
(Inherited from Control.) | |
| ParentChanged |
Occurs when the Parent property value changes.
(Inherited from Control.) | |
| Resize |
Occurs when the control is resized.
(Inherited from Control.) | |
| TextChanged |
Occurs when the Text property value changes.
(Inherited from Control.) | |
| Validated |
Occurs when the control is finished validating.
(Inherited from Control.) | |
| Validating |
Occurs when the control is validating.
(Inherited from Control.) |