Table of Contents

Class Spacer

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

Used for the layout purposes to occupy some space. Doesn't perform any painting by default.

public class Spacer : GenericControl, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo
Inheritance
Spacer
Implements
Derived

Constructors

Spacer()

Initializes a new instance of the Spacer class.

Fields

ShowDebugCorners

Gets or sets whether to show debug corners when control is painted.

Properties

HasBackground

Gets or sets whether background of the control is actually painted. Default is False.

Methods

DefaultPaint(PaintEventArgs)

Default painting method of the GenericControl and its descendants.