Table of Contents

Class PaintActionsControl

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

UserControl descendant with PaintActions property. Extends it's ancestor with an ability to call custom paint actions.

public class PaintActionsControl : HiddenBorder, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
PaintActionsControl
Implements

Constructors

PaintActionsControl()

Initializes a new instance of the PaintActionsControl class.

Properties

PaintActions

Gets list of custom paint actions.

Methods

DefaultPaint(PaintEventArgs)

Default painting method of the UserControl and its descendants.

OnSizeChanged(EventArgs)

Called when the SizeChanged event.

SetPaintAction(Action<AbstractControl, Graphics, RectD>)

Clears PaintActions and adds single paint action there.