Basic Controls
Objectives
Learn
basic properties of various basic controls.
Controls to cover TextBox ListView
Button RadioButton TreeView DataGrid
CheckBox ListBox
ComboBox ImageList
TabControl Timer
ProgressBar MonthCalendar ScrollBar
ToolTip
Menu StatusBar
Dialogs
(-)
CrystalReportViewer
ToolBar
TextBox Lable Button Properties
Properties
Name Text AutoSize [x B] BackColor ForeColor BorderStyle [ FlatStyle B] CharacterCasing [x L B] ContextMenu
Enable Font Multiline [x L B] MaxLength [x L B] PasswordChar [x L B] ReadOnly [x L B] TextAlign Visible
TextBox Lable Button
Events
KeyPress [x L] KeyDown [x L] KeyUp TextChanged Click MouseEnter MouseLeave LostFocus GotFocus
CheckBox – RadioButton
Properties
AutoCheck CheckState [x R] Checked ThreeState [x R] CheckAlign
Events
CheckedChanged Click StateChanged
ListBox - ComboBox
Properties
Items MultiColumn ScrollAlwaysVisible SelectionMode Sorted
Events
SelectedIndexChanged SelectedValueChanged
TreeView
Properties
Events
CheckBoxes HideSelection HotTracking Indent ItemHeight LabelEdit
Nodes PathSeparator Scrollable ShowLines ShowPlusMinus ShowRootLines
AfterCheck AfterExpand AfterCollapse AfterSelect BeforeCheck BeforeExpand BeforeCollapse BeforeSelect
ListView
Properties
Events
Activation AllowColumnReorder CheckBoxes Columns FullRowSelect GridLines HideSelection HoverSelection Items MultiSelect
View
Click ColumnClick ItemActivate SelectedIndexChanged
ToolTip
Properties
Methods
AutomaticDelay AutoPopDelay InitialDelay ReshowDelay ShowAlways
SetToolTip GetToolTip
RemoveAll