0% found this document useful (0 votes)
15 views4 pages

Unit 3

Uploaded by

jnidhi88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Unit 3

Uploaded by

jnidhi88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Control Class
The base class for all controls in Windows Forms. It provides essential properties, methods, and events
for all controls, such as layout, appearance, and user interaction.
2. Text Boxes
• Description: Single-line or multi-line input fields for user text input.
• Key Properties:
o Text: Gets or sets the text in the text box.
o Multiline: Enables multiple lines of text.
o PasswordChar: Hides the input with a specified character.
3. Rich Text Boxes
• Description: Similar to text boxes but supports rich text formatting (bold, italics, different
fonts).
• Key Features:
o Formatting options through RTF (Rich Text Format).
o Rtf: Property to get or set the text in RTF format.
4. Labels
• Description: Displays non-editable text or images.
• Key Properties:
o Text: The text to display.
o AutoSize: Adjusts the label size based on the text.
5. Link Labels
• Description: Similar to labels but designed to look like hyperlinks.
• Key Features: Can be clicked to perform actions, often used for navigation.
6. Buttons
• Description: Clickable buttons that trigger actions.
• Key Properties:
o Text: The text displayed on the button.
o Image: Displays an image alongside the text.
7. Checkboxes
• Description: Allow users to select or deselect options.
• Key Properties:
o Checked: Indicates whether the checkbox is checked.
o ThreeState: Allows three states: checked, unchecked, or indeterminate.
8. Radio Buttons
• Description: Allow selection of one option from a group.
• Key Properties:
o Checked: Indicates whether the radio button is selected.
9. Panels
• Description: Used to group controls together and manage layout.
• Key Features: Can contain other controls, useful for organizing the UI.
10. Group Boxes
• Description: Similar to panels but with a border and title.
• Key Features: Helps in visually grouping related controls.
11. List Boxes
• Description: Displays a list of items from which the user can select.
• Key Properties:
o Items: The collection of items in the list box.
o SelectedIndex: Indicates the currently selected item.
12. Checked List Boxes
• Description: Combines a list box with checkboxes next to each item.
• Key Features: Users can select multiple items.
13. Combo Boxes
• Description: A drop-down list that allows selection from a list of items.
• Key Properties:
o DropDownStyle: Defines how the list is displayed (dropdown or simple).
14. Picture Boxes
• Description: Displays images.
• Key Features: Supports various image formats and can resize images.
15. Scroll Bars
• Description: Provides a scrolling interface for other controls.
• Key Types: Horizontal and vertical scroll bars.
16. Splitters
• Description: Allows resizing of two adjacent controls.
• Key Features: Can be dragged to change the size of the control areas.
17. Track Bars
• Description: A slider control for selecting a value from a range.
• Key Properties:
o Minimum and Maximum: Define the range of values.
18. Pickers
• Types:
o Color Picker: Selects colors.
o DateTime Picker: Selects dates and times.
19. Notify Icons
• Description: Displays an icon in the system tray for background applications.
• Key Features: Can show balloon notifications and context menus.
20. Tool Tips
• Description: Provides helpful hints when hovering over controls.
• Key Properties:
o ToolTip: The text that appears as a hint.
21. Timers
• Description: Enables periodic actions at set intervals.
• Key Properties:
o Interval: The time interval in milliseconds.
o Enabled: Starts or stops the timer.
22. Menus
• Types:
o Main Menu: Top-level menus.
o Context Menu: Right-click menus.
23. Built-in Dialog Boxes
• Examples: OpenFileDialog, SaveFileDialog, MessageBox, etc.
• Key Features: Standard dialogs for common tasks.
24. Printing
• Description: Handles printing documents from applications.
• Key Classes: PrintDocument, PrintPreviewDialog.
25. Image Lists
• Description: Stores images for use in controls like list views or toolbars.
26. Tree and List Views
• Tree View: Displays hierarchical data.
• List View: Displays data in a list format, supporting icons and details.
27. Toolbars
• Description: Provides a customizable area for buttons and controls, often for common actions.
28. Status and Progress Bars
• Status Bars: Displays status information.
• Progress Bars: Shows the progress of a task visually.
29. Tab Controls
• Description: Organizes content into tabbed sections for better navigation.
• Key Features: Allows multiple views in a single area.
These controls and tools are fundamental for building user interfaces in .NET Windows Forms
applications, providing a rich set of functionalities for creating responsive and user-friendly
applications. Let me know if you want more details on a specific control or aspect!

You might also like