Table of Contents

Class Properties

Namespace
RDCore.Forms.Model
Assembly
RDCore.Forms.dll

The properties of VB's intrinsic forms and controls that a designer file sets, with their VB6 defaults, and the few that only a running program sets, such as a TextBox's SelStart.

public static class Properties
Inheritance
Properties
Inherited Members

Remarks

A component's name and its control-array index are not properties here: they are Name and Index. Where two classes have a property of the same name with different types, there is one definition per type, such as CheckBoxValue and OptionButtonValue. A picture is held as the bytes of its image file.

A number has the range of its VB type: a short is an Integer and an int a Long. A double property, such as Left, is a Single: the VB6 import refuses a value outside a Single's range.

Fields

AccessKeys

The letters a UserControl answers to with Alt, as its designer file holds them: AccessKeys = "q". "" by default.

public static readonly PropertyDefinition<string> AccessKeys

Field Value

PropertyDefinition<string>

Align

The edge of its form a PictureBox, a Data control or an Alignable UserControl is docked to: see AlignLayout. Setting it on a box in another container, or to None on a box of an MDI form, leaves it as it was.

public static readonly PropertyDefinition<Align> Align

Field Value

PropertyDefinition<Align>

Alignable

Whether a placed UserControl has an Align; False by default.

public static readonly PropertyDefinition<bool> Alignable

Field Value

PropertyDefinition<bool>

Alignment

How the control aligns its text, or its caption.

public static readonly PropertyDefinition<TextAlignment> Alignment

Field Value

PropertyDefinition<TextAlignment>

Appearance

Whether the control is drawn flat or with a three-dimensional edge.

public static readonly PropertyDefinition<Appearance> Appearance

Field Value

PropertyDefinition<Appearance>

Archive

Whether a FileListBox lists files with the archive attribute.

public static readonly PropertyDefinition<bool> Archive

Field Value

PropertyDefinition<bool>

AutoRedraw

Whether a form or a PictureBox keeps what its drawing methods draw and raises no Paint event. RDForms keeps the drawing either way; where this is False, it raises Paint.

public static readonly PropertyDefinition<bool> AutoRedraw

Field Value

PropertyDefinition<bool>

AutoSize

Whether the control resizes itself to fit its contents.

public static readonly PropertyDefinition<bool> AutoSize

Field Value

PropertyDefinition<bool>

BOFAction

What a Data control does when its user moves before the first record. Another value is 380.

public static readonly PropertyDefinition<DataBOFAction> BOFAction

Field Value

PropertyDefinition<DataBOFAction>

BackColor

The colour of the component's background.

public static readonly PropertyDefinition<FormColor> BackColor

Field Value

PropertyDefinition<FormColor>

BackStyle

Whether a Label's or Shape's background is drawn.

public static readonly PropertyDefinition<BackStyle> BackStyle

Field Value

PropertyDefinition<BackStyle>

BorderColor

The colour of a Shape's border or of a Line.

public static readonly PropertyDefinition<FormColor> BorderColor

Field Value

PropertyDefinition<FormColor>

BorderStyle

The control's border.

public static readonly PropertyDefinition<BorderStyle> BorderStyle

Field Value

PropertyDefinition<BorderStyle>

BorderWidth

The width of a Shape's border or of a Line, in pixels.

public static readonly PropertyDefinition<short> BorderWidth

Field Value

PropertyDefinition<short>

ButtonStyle

How a CommandButton, CheckBox or OptionButton is drawn.

public static readonly PropertyDefinition<ButtonStyle> ButtonStyle

Field Value

PropertyDefinition<ButtonStyle>

CanGetFocus

Whether a UserControl takes the focus itself; True by default. A placed one that does not has no TabIndex.

public static readonly PropertyDefinition<bool> CanGetFocus

Field Value

PropertyDefinition<bool>

Cancel

Whether Esc clicks the CommandButton from any control of its form but a combo's open list: the form's cancel button.

public static readonly PropertyDefinition<bool> Cancel

Field Value

PropertyDefinition<bool>

Caption

The text of a form's title bar, a property page's tab, a button's face, a label, a frame's title or a menu item, or the text beside a check box or an option button.

public static readonly PropertyDefinition<string> Caption

Field Value

PropertyDefinition<string>

CausesValidation

Whether moving the focus to the control validates the control that loses it.

public static readonly PropertyDefinition<bool> CausesValidation

Field Value

PropertyDefinition<bool>

CheckBoxValue

A CheckBox's state, an Integer to a program.

public static readonly PropertyDefinition<CheckBoxValue> CheckBoxValue

Field Value

PropertyDefinition<CheckBoxValue>

CheckOnClick

Whether choosing a menu item ticks or unticks it before its Click: an RD-VBA addition. False, the default, leaves Checked to the program, as a VB6 menu does.

public static readonly PropertyDefinition<bool> CheckOnClick

Field Value

PropertyDefinition<bool>

Checked

Whether a menu item shows a check mark.

public static readonly PropertyDefinition<bool> Checked

Field Value

PropertyDefinition<bool>

ClipBehavior

A UserControl's ClipBehavior; Use Region by default.

public static readonly PropertyDefinition<ClipBehavior> ClipBehavior

Field Value

PropertyDefinition<ClipBehavior>

ClipControls

A UserControl's ClipControls; True by default.

public static readonly PropertyDefinition<bool> ClipControls

Field Value

PropertyDefinition<bool>

ComboBoxStyle

How a ComboBox is drawn and behaves.

public static readonly PropertyDefinition<ComboBoxStyle> ComboBoxStyle

Field Value

PropertyDefinition<ComboBoxStyle>

CommandButtonValue

A CommandButton's Value, a Boolean to a program. Setting it to True clicks the button, which raises its Click with the Value True, and the Value is False again once Click returns. False does nothing. A form's file holds no Value.

public static readonly PropertyDefinition<bool> CommandButtonValue

Field Value

PropertyDefinition<bool>

Connect

The kind of database a Data control opens, and the connection's parameters for one that is not Jet's own, such as Excel 8.0;.

public static readonly PropertyDefinition<string> Connect

Field Value

PropertyDefinition<string>

ContainerScrollBars

The scroll bars a form or a Frame shows, named ScrollBars: none by default. A bar shows where its direction has more to scroll than the inside shows, and always where KeepScrollBarsVisible keeps it.

public static readonly PropertyDefinition<ScrollBars> ContainerScrollBars

Field Value

PropertyDefinition<ScrollBars>

ContextMenu

The name of the form's menu whose items pop up as the user releases the right mouse button over the component: an RD-VBA addition. The name is compared without regard to case. An empty name, the default, or one that names none of the form's menus pops up none.

public static readonly PropertyDefinition<string> ContextMenu

Field Value

PropertyDefinition<string>

ControlContainer

Whether a placed UserControl holds the controls its form places in it; False by default.

public static readonly PropertyDefinition<bool> ControlContainer

Field Value

PropertyDefinition<bool>

ControlSource

The data source the control's value is bound to, as an MSForms form names it, such as a worksheet cell (Sheet1!A1). It is kept as text and binds nothing: nothing resolves it. Empty by default.

public static readonly PropertyDefinition<string> ControlSource

Field Value

PropertyDefinition<string>

DataBindingBehavior

A UserControl's DataBindingBehavior; vbNone by default.

public static readonly PropertyDefinition<DataBindingBehavior> DataBindingBehavior

Field Value

PropertyDefinition<DataBindingBehavior>

DataSourceBehavior

A UserControl's DataSourceBehavior; vbNone by default.

public static readonly PropertyDefinition<DataSourceBehavior> DataSourceBehavior

Field Value

PropertyDefinition<DataSourceBehavior>

DatabaseName

The database a Data control opens: a file, or a folder for a database of files.

public static readonly PropertyDefinition<string> DatabaseName

Field Value

PropertyDefinition<string>

Default

Whether Enter clicks the CommandButton from any control of its form but another CommandButton or a combo's open list: the form's default button.

public static readonly PropertyDefinition<bool> Default

Field Value

PropertyDefinition<bool>

DefaultCancel

Whether a placed UserControl has a Default and a Cancel; False by default.

public static readonly PropertyDefinition<bool> DefaultCancel

Field Value

PropertyDefinition<bool>

DefaultCursorType

The cursor an ODBCDirect Data control opens. A program can set a value that names none, such as 3, as VB6 lets it.

public static readonly PropertyDefinition<DataDefaultCursorType> DefaultCursorType

Field Value

PropertyDefinition<DataDefaultCursorType>

DefaultType

The database engine a Data control opens its database with. Another value is 380.

public static readonly PropertyDefinition<DataDefaultType> DefaultType

Field Value

PropertyDefinition<DataDefaultType>

Delay

The milliseconds between the repeated moves of a SpinButton's value while one of its arrows is held down; 50 by default. The first move comes as the arrow is pressed, and the second five times the delay later.

public static readonly PropertyDefinition<int> Delay

Field Value

PropertyDefinition<int>

DisabledPicture

The picture a graphical button shows in place of its Picture while it is disabled, as the bytes of its image file, or null for none.

public static readonly PropertyDefinition<byte[]?> DisabledPicture

Field Value

PropertyDefinition<byte[]>

DownPicture

The picture a graphical button shows in place of its Picture while it is pressed, checked or selected, as the bytes of its image file, or null for none.

public static readonly PropertyDefinition<byte[]?> DownPicture

Field Value

PropertyDefinition<byte[]>

DragIcon

The image shown while the control is dragged, as the bytes of its icon file, or null for none.

public static readonly PropertyDefinition<byte[]?> DragIcon

Field Value

PropertyDefinition<byte[]>

DragMode

How a placed UserControl is dragged: its extender's DragMode.

public static readonly PropertyDefinition<DragMode> DragMode

Field Value

PropertyDefinition<DragMode>

DrawMode

How a Line's colour, or the colour of a form's or a PictureBox's drawing, combines with what is drawn under it: a raster operation from 1 to 16, GDI's of the same number. 13, the default, draws the colour as it is. Another value is refused (380 for a program).

public static readonly PropertyDefinition<short> DrawMode

Field Value

PropertyDefinition<short>

DrawStyle

How a form's or a PictureBox's drawing methods draw their lines.

public static readonly PropertyDefinition<DrawStyle> DrawStyle

Field Value

PropertyDefinition<DrawStyle>

DrawWidth

The width in pixels of the lines a form's or a PictureBox's drawing methods draw.

public static readonly PropertyDefinition<short> DrawWidth

Field Value

PropertyDefinition<short>

EOFAction

What a Data control does when its user moves past the last record. Another value is 380.

public static readonly PropertyDefinition<DataEOFAction> EOFAction

Field Value

PropertyDefinition<DataEOFAction>

EditAtDesignTime

A UserControl's EditAtDesignTime; False by default.

public static readonly PropertyDefinition<bool> EditAtDesignTime

Field Value

PropertyDefinition<bool>

Enabled

Whether the component responds to the user.

public static readonly PropertyDefinition<bool> Enabled

Field Value

PropertyDefinition<bool>

Exclusive

Whether a Data control opens its database for its program alone.

public static readonly PropertyDefinition<bool> Exclusive

Field Value

PropertyDefinition<bool>

FillColor

The colour a figure is filled with.

public static readonly PropertyDefinition<FormColor> FillColor

Field Value

PropertyDefinition<FormColor>

FillStyle

How a figure is filled.

public static readonly PropertyDefinition<FillStyle> FillStyle

Field Value

PropertyDefinition<FillStyle>

Font

The font of the component's text. A component holds a font at the size VB6 draws it at, AtDrawnSize(), as VB6 holds it: MS Sans Serif set to 8 points holds 8.25, and a font that takes another name then is drawn from 8.25.

public static readonly PropertyDefinition<FormFont> Font

Field Value

PropertyDefinition<FormFont>

FontTransparent

Whether the text a form's or a PictureBox's Print method draws leaves what is under it. Where it is False, each line's cell is filled with the BackColor first. True by default. A UserControl has it too, as VB6 lists it.

public static readonly PropertyDefinition<bool> FontTransparent

Field Value

PropertyDefinition<bool>

ForeColor

The colour of the component's text and drawing.

public static readonly PropertyDefinition<FormColor> ForeColor

Field Value

PropertyDefinition<FormColor>

ForwardFocus

Whether a UserControl gives the focus it is offered to the next control in the tab order; False by default.

public static readonly PropertyDefinition<bool> ForwardFocus

Field Value

PropertyDefinition<bool>

HasDC

A UserControl's HasDC; True by default.

public static readonly PropertyDefinition<bool> HasDC

Field Value

PropertyDefinition<bool>

Height

A control's height, in pixels whatever its container's scale; a form's client area's height, in pixels. A program's code reads it in its own unit: see CodeUnits. A PictureBox aligned to the left or the right keeps the one its AlignLayout gives it.

public static readonly PropertyDefinition<double> Height

Field Value

PropertyDefinition<double>

HelpContextID

The context number of the component's help topic.

public static readonly PropertyDefinition<int> HelpContextID

Field Value

PropertyDefinition<int>

Hidden

Whether a FileListBox lists hidden files.

public static readonly PropertyDefinition<bool> Hidden

Field Value

PropertyDefinition<bool>

HitBehavior

A UserControl's HitBehavior; Use Region by default.

public static readonly PropertyDefinition<HitBehavior> HitBehavior

Field Value

PropertyDefinition<HitBehavior>

Icon

The icon a form shows in its title bar, as the bytes of its icon or cursor file, or null for none. Any other picture, and one Inspect(byte[]?, out PictureInfo) refuses, is not an icon.

public static readonly PropertyDefinition<byte[]?> Icon

Field Value

PropertyDefinition<byte[]>

IntegralHeight

Whether a ListBox's or a Simple Combo's height is snapped to whole rows of its list. True by default.

public static readonly PropertyDefinition<bool> IntegralHeight

Field Value

PropertyDefinition<bool>

Interval

The milliseconds between a Timer's events. 0 stops the Timer.

public static readonly PropertyDefinition<int> Interval

Field Value

PropertyDefinition<int>

InvisibleAtRuntime

Whether a placed UserControl is never shown to a running program; False by default. A placed one that is has no extent, and its class has only a Left and a Top, which a program can neither read nor set.

public static readonly PropertyDefinition<bool> InvisibleAtRuntime

Field Value

PropertyDefinition<bool>

ItemData

The Long value attached to each item of a ListBox or ComboBox, in the order of List.

public static readonly PropertyDefinition<IReadOnlyList<int>> ItemData

Field Value

PropertyDefinition<IReadOnlyList<int>>

ItemIcon

The picture shown before each item of a ListBox or ComboBox, in the order of List, as the bytes of its file, or null for an item with none. An RD-VBA addition: VB6's ListBox and ComboBox show no pictures.

public static readonly PropertyDefinition<IReadOnlyList<byte[]?>> ItemIcon

Field Value

PropertyDefinition<IReadOnlyList<byte[]>>

KeepScrollBarsVisible

The scroll bars of ContainerScrollBars a form or a Frame shows even with nothing to scroll: both by default.

public static readonly PropertyDefinition<ScrollBars> KeepScrollBarsVisible

Field Value

PropertyDefinition<ScrollBars>

KeyPreview

Whether a form receives keyboard events before the control that has the focus.

public static readonly PropertyDefinition<bool> KeyPreview

Field Value

PropertyDefinition<bool>

LargeChange

How much a scroll bar's value changes when the user clicks its track.

public static readonly PropertyDefinition<short> LargeChange

Field Value

PropertyDefinition<short>

Left

A control's left edge in its container, in pixels whatever the container's scale; a form's client area's left edge on the screen, in pixels. A program's code reads it in its own unit: see CodeUnits. An aligned control keeps the one its AlignLayout gives it.

public static readonly PropertyDefinition<double> Left

Field Value

PropertyDefinition<double>

List

A ListBox's or ComboBox's items, in order.

public static readonly PropertyDefinition<IReadOnlyList<string>> List

Field Value

PropertyDefinition<IReadOnlyList<string>>

Locked

Whether the user is prevented from changing a TextBox's or a ComboBox's text.

public static readonly PropertyDefinition<bool> Locked

Field Value

PropertyDefinition<bool>

MaskColor

The colour a graphical button leaves out of its pictures where UseMaskColor is set: its pixels of exactly this colour show the button's face. Silver (&H00C0C0C0&) by default.

public static readonly PropertyDefinition<FormColor> MaskColor

Field Value

PropertyDefinition<FormColor>

MaskPicture

A UserControl's MaskPicture, as the bytes of its image file, or null for none.

public static readonly PropertyDefinition<byte[]?> MaskPicture

Field Value

PropertyDefinition<byte[]>

Max

A scroll bar's value at its right or bottom end.

public static readonly PropertyDefinition<short> Max

Field Value

PropertyDefinition<short>

MaxButton

Whether a form's title bar has a Maximize button.

public static readonly PropertyDefinition<bool> MaxButton

Field Value

PropertyDefinition<bool>

MaxLength

The most characters a TextBox holds, from 0 to 65535, or 0 for no limit. Typing stops there, and a text set is cut to it; a text already longer stays until it is set again.

public static readonly PropertyDefinition<int> MaxLength

Field Value

PropertyDefinition<int>

Min

A scroll bar's value at its left or top end.

public static readonly PropertyDefinition<short> Min

Field Value

PropertyDefinition<short>

MinButton

Whether a form's title bar has a Minimize button.

public static readonly PropertyDefinition<bool> MinButton

Field Value

PropertyDefinition<bool>

MouseIcon

The pointer shown when MousePointer is Custom, as the bytes of its icon or cursor file, or null for none.

public static readonly PropertyDefinition<byte[]?> MouseIcon

Field Value

PropertyDefinition<byte[]>

MousePointer

The pointer shown over the component.

public static readonly PropertyDefinition<MousePointer> MousePointer

Field Value

PropertyDefinition<MousePointer>

MultiLine

Whether a TextBox holds more than one line. A multi-line box takes Enter as a new line, and wraps its lines unless it has a horizontal scroll bar.

public static readonly PropertyDefinition<bool> MultiLine

Field Value

PropertyDefinition<bool>

MultiRow

Whether a MultiPage's or a TabStrip's tabs wrap onto more rows when they do not fit in one. When they do not, the tabs that do not fit are cut off.

public static readonly PropertyDefinition<bool> MultiRow

Field Value

PropertyDefinition<bool>

MultiSelect

Whether a ListBox selects more than one item, and how.

public static readonly PropertyDefinition<ListBoxMultiSelect> MultiSelect

Field Value

PropertyDefinition<ListBoxMultiSelect>

Negotiate

The Negotiate of a Data control, and of a placed UserControl that is Alignable, which the model keeps as written. A program can neither read it nor set it.

public static readonly PropertyDefinition<bool> Negotiate

Field Value

PropertyDefinition<bool>

NegotiatePosition

Where a top-level menu goes on its form's menu bar while an object of an OLE container is active. A program can neither read nor set it.

public static readonly PropertyDefinition<NegotiatePosition> NegotiatePosition

Field Value

PropertyDefinition<NegotiatePosition>

Normal

Whether a FileListBox lists files with no attribute.

public static readonly PropertyDefinition<bool> Normal

Field Value

PropertyDefinition<bool>

OLEDropMode

A component's OLEDropMode; None by default.

public static readonly PropertyDefinition<OLEDropMode> OLEDropMode

Field Value

PropertyDefinition<OLEDropMode>

Opacity

How solid a control is drawn, a Single from 0, not seen, to 1, solid, the default: an RD-VBA addition. The whole control is drawn that solid, its background, border, caption and picture, and the controls it holds with it. A control at 0 still takes the mouse and raises its mouse events; only Visible False stops that. Its place among the other controls is unchanged. A value outside 0 to 1 is refused (380).

public static readonly PropertyDefinition<double> Opacity

Field Value

PropertyDefinition<double>

OptionButtonValue

Whether an OptionButton is the selected one of its group, a Boolean to a program.

public static readonly PropertyDefinition<bool> OptionButtonValue

Field Value

PropertyDefinition<bool>

Options

The options a Data control opens its recordset with, a sum of DAO's RecordsetOptionEnum values.

public static readonly PropertyDefinition<short> Options

Field Value

PropertyDefinition<short>

Orientation

Whether a SpinButton's arrows are one above the other or side by side. Auto, the default, follows the control's shape: side by side where it is wider than it is tall.

public static readonly PropertyDefinition<ControlOrientation> Orientation

Field Value

PropertyDefinition<ControlOrientation>

Palette

The picture whose palette a UserControl or a PropertyPage draws with where its PaletteMode is Custom, as the bytes of its image file, or null for none.

public static readonly PropertyDefinition<byte[]?> Palette

Field Value

PropertyDefinition<byte[]>

PaletteMode

A UserControl's or a PropertyPage's PaletteMode. Its default is the class's.

public static readonly PropertyDefinition<PaletteMode> PaletteMode

Field Value

PropertyDefinition<PaletteMode>

PasswordChar

The character a TextBox shows for each character of its text, or "" to show its text. One character at most.

public static readonly PropertyDefinition<string> PasswordChar

Field Value

PropertyDefinition<string>

Pattern

The names a FileListBox lists: one pattern, or several separated by semicolons, such as .txt;.bas.

public static readonly PropertyDefinition<string> Pattern

Field Value

PropertyDefinition<string>

Picture

The picture the component shows, as the bytes of its image file (a bitmap, icon, cursor, GIF, JPEG or metafile), or null for none.

public static readonly PropertyDefinition<byte[]?> Picture

Field Value

PropertyDefinition<byte[]>

PicturePosition

Where a Label draws its Picture against its caption: an RD-VBA addition, as MSForms' Label has it. AboveCenter by default.

public static readonly PropertyDefinition<PicturePosition> PicturePosition

Field Value

PropertyDefinition<PicturePosition>

Public

A UserControl's Public; False by default.

public static readonly PropertyDefinition<bool> Public

Field Value

PropertyDefinition<bool>

ReadOnly

Whether a FileListBox lists read-only files, or whether a Data control opens its database for reading only, which a Data control's class defaults to False.

public static readonly PropertyDefinition<bool> ReadOnly

Field Value

PropertyDefinition<bool>

RecordSource

The table, query or SQL statement a Data control's recordset comes from.

public static readonly PropertyDefinition<string> RecordSource

Field Value

PropertyDefinition<string>

RecordsetType

The kind of recordset a Data control opens. Another value is 380.

public static readonly PropertyDefinition<DataRecordsetType> RecordsetType

Field Value

PropertyDefinition<DataRecordsetType>

RightToLeft

Whether the component's text and layout read right to left.

public static readonly PropertyDefinition<bool> RightToLeft

Field Value

PropertyDefinition<bool>

RowSource

The data source a list's items come from, as an MSForms form names it, such as a worksheet range (Sheet1!A1:A10). It is kept as text and fills nothing: nothing resolves it. Empty by default.

public static readonly PropertyDefinition<string> RowSource

Field Value

PropertyDefinition<string>

ScaleHeight

The inside height of a form or a PictureBox, in its own scale. A designer file writes it for every Form, UserControl and PropertyPage; in a scale other than User it follows from the component's size (ScaleRules). It is never 0; a negative height runs the scale bottom to top.

public static readonly PropertyDefinition<double> ScaleHeight

Field Value

PropertyDefinition<double>

ScaleLeft

The horizontal coordinate of a form's or a PictureBox's inside left edge, in its own scale.

public static readonly PropertyDefinition<double> ScaleLeft

Field Value

PropertyDefinition<double>

ScaleMode

The unit of a form's or a PictureBox's scale: the unit of its ScaleLeft, ScaleTop, ScaleWidth and ScaleHeight, and of the ends of the Lines it holds. Its controls' positions and sizes are in pixels whatever its scale. A value that is not a ScaleMode is refused.

public static readonly PropertyDefinition<ScaleMode> ScaleMode

Field Value

PropertyDefinition<ScaleMode>

ScaleTop

The vertical coordinate of a form's or a PictureBox's inside top edge, in its own scale.

public static readonly PropertyDefinition<double> ScaleTop

Field Value

PropertyDefinition<double>

ScaleWidth

The inside width of a form or a PictureBox, in its own scale. A designer file writes it for every Form, UserControl and PropertyPage; in a scale other than User it follows from the component's size (ScaleRules). It is never 0; a negative width runs the scale right to left.

public static readonly PropertyDefinition<double> ScaleWidth

Field Value

PropertyDefinition<double>

ScrollBarValue

A scroll bar's value, from Min to Max.

public static readonly PropertyDefinition<short> ScrollBarValue

Field Value

PropertyDefinition<short>

ScrollBars

A TextBox's scroll bars. A box that is not multi-line has none.

public static readonly PropertyDefinition<ScrollBars> ScrollBars

Field Value

PropertyDefinition<ScrollBars>

ScrollHeight

The height of the area a form or a Frame scrolls, in pixels. At 0, the default, or at no more than the inside's height, it has nothing to scroll down.

public static readonly PropertyDefinition<double> ScrollHeight

Field Value

PropertyDefinition<double>

ScrollLeft

How far a form or a Frame is scrolled across, in pixels: the left edge of the area it shows. Setting it scrolls the view, no further than the area's end, and raises ContainerScroll where the view moves; the user's scroll sets it.

public static readonly PropertyDefinition<double> ScrollLeft

Field Value

PropertyDefinition<double>

ScrollTop

How far a form or a Frame is scrolled down, in pixels: the top edge of the area it shows. Setting it scrolls the view, no further than the area's end, and raises ContainerScroll where the view moves; the user's scroll sets it.

public static readonly PropertyDefinition<double> ScrollTop

Field Value

PropertyDefinition<double>

ScrollWidth

The width of the area a form or a Frame scrolls, in pixels. At 0, the default, or at no more than the inside's width, it has nothing to scroll across.

public static readonly PropertyDefinition<double> ScrollWidth

Field Value

PropertyDefinition<double>

SelLength

The number of characters selected from SelStart. It takes 0 to 65535, a value past the end of the text selecting up to it, and refuses another value (380 for a program).

public static readonly PropertyDefinition<int> SelLength

Field Value

PropertyDefinition<int>

Remarks

Only a running program sets it, as SelStart.

SelStart

Where a TextBox's selection starts, or a ComboBox's in its edit box, or the caret's place where nothing is selected: 0 is before the first character. It takes 0 to 65535, a value past the end of the text being its end, and refuses another value (380 for a program). Setting it selects nothing.

public static readonly PropertyDefinition<int> SelStart

Field Value

PropertyDefinition<int>

Remarks

Only a running program sets it. A ComboBox whose style is Dropdown List has no edit box, and none of its selection.

SelText

The selected text, "" where nothing is selected. Setting it puts the text in place of the selection, or at the caret, and leaves the caret after it with nothing selected: it sets Text, SelStart and SelLength.

public static readonly PropertyDefinition<string> SelText

Field Value

PropertyDefinition<string>

Remarks

Where a TextBox has a MaxLength, what does not fit is left out. A box that is not multi-line takes the text in one step, even where its text does not change, and in none where nothing is selected and a text other than "" does not fit at all. A multi-line box takes it in two steps: the selection is deleted, where there is one, then the text is inserted, where some of it fits. A view raises a Change for each step.

Only a running program sets it, as SelStart. A null text is refused with an ArgumentNullException.

SelectedIndex

The index of a MultiPage's selected page, or of a TabStrip's selected tab, from 0; -1 when it has none. Setting it selects that page or tab. Its Value.

public static readonly PropertyDefinition<int> SelectedIndex

Field Value

PropertyDefinition<int>

Shape

The figure a Shape draws.

public static readonly PropertyDefinition<ShapeType> Shape

Field Value

PropertyDefinition<ShapeType>

ShapeBorderStyle

How a Shape's border or a Line is drawn.

public static readonly PropertyDefinition<ShapeBorderStyle> ShapeBorderStyle

Field Value

PropertyDefinition<ShapeBorderStyle>

Shortcut

The key that chooses a menu item from anywhere on its form, or null for none.

public static readonly PropertyDefinition<MenuShortcut?> Shortcut

Field Value

PropertyDefinition<MenuShortcut?>

ShowInTaskbar

Whether a form has a button on the task bar.

public static readonly PropertyDefinition<bool> ShowInTaskbar

Field Value

PropertyDefinition<bool>

SmallChange

How much a scroll bar's value changes when the user clicks one of its arrows.

public static readonly PropertyDefinition<short> SmallChange

Field Value

PropertyDefinition<short>

SpinButtonMax

The value a SpinButton's up or right arrow moves its value toward, a Long to a program; 100 by default.

public static readonly PropertyDefinition<int> SpinButtonMax

Field Value

PropertyDefinition<int>

SpinButtonMin

The value a SpinButton's down or left arrow moves its value toward, a Long to a program; 0 by default.

public static readonly PropertyDefinition<int> SpinButtonMin

Field Value

PropertyDefinition<int>

SpinButtonSmallChange

How much a click on one of a SpinButton's arrows changes its value, a Long to a program; 1 by default.

public static readonly PropertyDefinition<int> SpinButtonSmallChange

Field Value

PropertyDefinition<int>

SpinButtonValue

A SpinButton's value, a Long to a program. Its arrows move it by SpinButtonSmallChange, from SpinButtonMin to SpinButtonMax.

public static readonly PropertyDefinition<int> SpinButtonValue

Field Value

PropertyDefinition<int>

StartUpPosition

Where a form opens on the screen.

public static readonly PropertyDefinition<StartUpPosition> StartUpPosition

Field Value

PropertyDefinition<StartUpPosition>

Stretch

Whether an Image scales its picture to its size; when not set, the Image takes its picture's size.

public static readonly PropertyDefinition<bool> Stretch

Field Value

PropertyDefinition<bool>

SystemFiles

Whether a FileListBox lists system files: VB's System property.

public static readonly PropertyDefinition<bool> SystemFiles

Field Value

PropertyDefinition<bool>

TabFixedHeight

The height of every tab of a MultiPage or a TabStrip, in DIP; 0, the default, sizes the tabs to their captions' font.

public static readonly PropertyDefinition<double> TabFixedHeight

Field Value

PropertyDefinition<double>

TabFixedWidth

The width of every tab of a MultiPage or a TabStrip, in DIP; 0, the default, sizes each tab to its caption.

public static readonly PropertyDefinition<double> TabFixedWidth

Field Value

PropertyDefinition<double>

TabIndex

The control's position in its form's tab order.

public static readonly PropertyDefinition<short> TabIndex

Field Value

PropertyDefinition<short>

TabOrientation

Which side of a MultiPage or a TabStrip its tabs are on, the top by default.

public static readonly PropertyDefinition<TabOrientation> TabOrientation

Field Value

PropertyDefinition<TabOrientation>

TabStop

Whether the Tab key moves the focus to the control.

public static readonly PropertyDefinition<bool> TabStop

Field Value

PropertyDefinition<bool>

TabStyle

How a MultiPage or a TabStrip shows its tabs: as tabs, the default, as buttons, or not at all. Its Style.

public static readonly PropertyDefinition<TabStyle> TabStyle

Field Value

PropertyDefinition<TabStyle>

Tabs

A TabStrip's tabs, in their order: two, Tab1 and Tab2, by default. No two have the same name, compared without regard to case. A program changes them through Tabs.

public static readonly PropertyDefinition<IReadOnlyList<Tab>> Tabs

Field Value

PropertyDefinition<IReadOnlyList<Tab>>

Tag

A string of the program's own, attached to the component.

public static readonly PropertyDefinition<string> Tag

Field Value

PropertyDefinition<string>

Text

The text a TextBox or a ComboBox holds. A TextBox with a MaxLength holds that many characters of a text set, at most. A different text selects nothing (SelStart and SelLength 0); the same text keeps the selection.

public static readonly PropertyDefinition<string> Text

Field Value

PropertyDefinition<string>

ToggleButtonValue

Whether a ToggleButton is down: True, False, the default, or null where it is Null, neither down nor up. A Boolean or a Null to a program.

public static readonly PropertyDefinition<bool?> ToggleButtonValue

Field Value

PropertyDefinition<bool?>

ToolTipText

The tooltip shown when the pointer rests on the control. No tooltip is shown when it is empty.

public static readonly PropertyDefinition<string> ToolTipText

Field Value

PropertyDefinition<string>

ToolboxBitmap

The picture a designer's toolbox shows for a UserControl, as the bytes of its image file, or null for none.

public static readonly PropertyDefinition<byte[]?> ToolboxBitmap

Field Value

PropertyDefinition<byte[]>

Top

A control's top edge in its container, in pixels whatever the container's scale; a form's client area's top edge on the screen, in pixels. A program's code reads it in its own unit: see CodeUnits. An aligned control keeps the one its AlignLayout gives it.

public static readonly PropertyDefinition<double> Top

Field Value

PropertyDefinition<double>

TripleState

Whether a click can give a ToggleButton the value Null. True makes a click go from False to True, from True to Null, and from Null to False. False, the default, makes a click switch between False and True, and a ToggleButton is Null only where code or the form's file makes it so.

public static readonly PropertyDefinition<bool> TripleState

Field Value

PropertyDefinition<bool>

UseMaskColor

Whether a graphical button leaves its MaskColor out of its pictures; False by default. An icon or a cursor is drawn whole either way.

public static readonly PropertyDefinition<bool> UseMaskColor

Field Value

PropertyDefinition<bool>

UseMnemonic

Whether an ampersand in a Label's caption marks the next character as its access key.

public static readonly PropertyDefinition<bool> UseMnemonic

Field Value

PropertyDefinition<bool>

Visible

Whether the component is shown while the program runs.

public static readonly PropertyDefinition<bool> Visible

Field Value

PropertyDefinition<bool>

WhatsThisHelpID

The context number of the control's "What's This?" help topic.

public static readonly PropertyDefinition<int> WhatsThisHelpID

Field Value

PropertyDefinition<int>

Width

A control's width, in pixels whatever its container's scale; a form's client area's width, in pixels. A program's code reads it in its own unit: see CodeUnits. A PictureBox aligned to the top or the bottom keeps the form's.

public static readonly PropertyDefinition<double> Width

Field Value

PropertyDefinition<double>

WindowList

Whether a menu lists the open child windows of a multiple-document interface form.

public static readonly PropertyDefinition<bool> WindowList

Field Value

PropertyDefinition<bool>

Windowless

Whether a UserControl is drawn on its container's surface rather than in a window of its own; False by default.

public static readonly PropertyDefinition<bool> Windowless

Field Value

PropertyDefinition<bool>

WordWrap

Whether a Label whose AutoSize is set grows down, wrapping its caption at its width, or across, keeping its caption on one line. It has no effect when AutoSize is not set.

public static readonly PropertyDefinition<bool> WordWrap

Field Value

PropertyDefinition<bool>

X1

The horizontal coordinate of a Line's first end, in its container's scale.

public static readonly PropertyDefinition<double> X1

Field Value

PropertyDefinition<double>

X2

The horizontal coordinate of a Line's second end, in its container's scale.

public static readonly PropertyDefinition<double> X2

Field Value

PropertyDefinition<double>

Y1

The vertical coordinate of a Line's first end, in its container's scale.

public static readonly PropertyDefinition<double> Y1

Field Value

PropertyDefinition<double>

Y2

The vertical coordinate of a Line's second end, in its container's scale.

public static readonly PropertyDefinition<double> Y2

Field Value

PropertyDefinition<double>