G4 Flashcards
(27 cards)
DataGridView
A Windows Forms control that displays and manages data in a table format
Displaying Data in a Table
Organizes tabular data like database records in a structured format
Entering and Editing Data
Allows direct addition/modification/deletion of data in grid cells
Sorting and Filtering Data
Enables column-header sorting and record filtering functionality
Selecting and Interacting with Data
Permits cell/row selection for editing or detailed views
Customizing Appearance
Adjusts fonts, colors, and layout settings for visual alignment
Handling Large Data
Uses virtual mode and lazy loading for efficient dataset management
AccessibleName
Property that names the control for assistive technologies (e.g., “Customer Data Table”)
AccessibleDescription
Provides additional context about the grid’s purpose for screen readers
BackgroundColor
Sets the grid’s background color (e.g., Color.LightGray)
AllowUserToAddRows
Boolean property controlling manual row addition capability
AllowUserToOrderColumns
Enables column reordering via drag-and-drop when true
DataSource
Binds the grid to external data sources like databases
ReadOnly
When true, prevents users from editing grid content
TabIndex
Determines focus order during keyboard navigation
DateTimePicker
Control for visual date/time selection with formatted display
User-Friendly Date Input
Provides intuitive interface for date selection in forms
Ensuring Valid Date Entries
Restricts selectable dates to prevent illogical inputs
Enhancing Data Processing
Standardizes dates for calculations and reporting
AccessibleName (DateTimePicker)
Screen reader identifier (e.g., “Birth Date Picker”)
CustomFormat
Defines custom date display formats (e.g., “MM/dd/yyyy”)
MaxDate
Sets the latest selectable date (e.g., DateTime.Today)
ShowCheckBox
Displays checkbox to enable/disable the control when true
DataSet
In-memory cache of data consisting of DataTable objects