Table of Contents

Class Direct2DPictureBox

Namespace
PaintDotNet.Controls
Assembly
PaintDotNet.Framework.dll
public class Direct2DPictureBox : Direct2DControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IIsDisposed, IDisposable
Inheritance
Direct2DPictureBox
Implements
Inherited Members

Constructors

Direct2DPictureBox()

Properties

Bitmap
BitmapInterpolationMode

Indicates the interpolation mode to use for drawing the bitmap.

EnableAlphaCheckerboard
SizeMode

Indicates how the bitmap is displayed.

Methods

InvalidateBitmap()

This method should be called if the contents of the Bitmap change. This will cause the bitmap to be re-copied to the GPU.

OnBitmapInterpolationModeChanged(EventArgs)
OnDispose(bool)
OnInvalidateDeviceResources()
OnRender(IDeviceContext, RectFloat)
OnRenderBackground(IDeviceContext, RectFloat, RectFloat)
OnRenderForeground(IDeviceContext, RectFloat, RectFloat)
OnSizeModeChanged(EventArgs)

Events

BitmapInterpolationModeChanged
SizeModeChanged