Table of Contents

Class NineRects.PreviewControl

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

Sample preview control for the NineRects structure.

public class NineRects.PreviewControl : Control, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
NineRects.PreviewControl
Implements

Constructors

PreviewControl()

Initializes a new instance of the NineRects.PreviewControl class.

Properties

PatchRect

Gets or sets Patch value.

SelectedHorz

Gets or sets which rectangle is visually selected (horizontal).

SelectedVert

Gets or sets which rectangle is visually selected (vertical).

Methods

OnPaint(PaintEventArgs)

Called when the control is redrawn. See Paint for details.