DataList Properties

Properties

AccessibilityObjectGets the AccessibleObject assigned to the control.
(Inherited from Control)
AccessibleDefaultActionDescriptionGets or sets the default action description of the control for use by accessibility client applications.
(Inherited from Control)
AccessibleDescriptionGets or sets the description of the control used by accessibility client applications.
(Inherited from Control)
AccessibleNameGets or sets the name of the control used by accessibility client applications.
(Inherited from Control)
AccessibleRoleGets or sets the accessible role of the control.
(Inherited from Control)
ActiveControlGets or sets the active control on the container control.
(Inherited from ContainerControl)
AddDeleteButtonsVisible This property is used to set or get whether or not the add and delete buttons are displayed
AddRowShortcut This is used to set or get the shortcut key to use for jumping to the "new row" template
AllowAdditions This is used to determine whether or not additions are allowed to be made to the data source
AllowDeletes This is used to determine whether or not deletes are allowed to be made to the data source
AllowDropGets or sets a value indicating whether the control can accept data that the user drags onto it.
(Inherited from Control)
AllowEdits This is used to determine whether or not edits are allowed to be made to the data source
AnchorGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control)
AutoScaleDimensionsGets or sets the dimensions that the control was designed to.
(Inherited from ContainerControl)
AutoScaleFactorGets the scaling factor between the current and design-time automatic scaling dimensions.
(Inherited from ContainerControl)
AutoScaleModeGets or sets the automatic scaling mode of the control.
(Inherited from ContainerControl)
AutoScrollMarginGets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl)
AutoScrollMinSizeGets or sets the minimum size of the auto-scroll.
(Inherited from ScrollableControl)
AutoScrollOffsetGets or sets where this control is scrolled to in ScrollControlIntoView(Control).
(Inherited from Control)
AutoScrollPositionGets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl)
AutoSizeThis property is not relevant for this class.
(Inherited from UserControl)
AutoSizeModeGets or sets how the control will resize itself.
(Inherited from UserControl)
AutoValidateGets or sets how the control performs validation when the user changes focus to another control.
(Inherited from UserControl)
BackColorGets or sets the background color for the control.
(Inherited from Control)
BackgroundImageLayoutGets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from Control)
BindingContextGets or sets the BindingContext for the control.
(Inherited from ContainerControl)
BorderStyle This property is used to set or get the border style.
BottomGets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control)
BoundsGets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control)
CanEnableImeGets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.
(Inherited from ContainerControl)
CanFocusGets a value indicating whether the control can receive focus.
(Inherited from Control)
CanRaiseEventsDetermines if events can be raised on the control.
(Inherited from Control)
CanSelectGets a value indicating whether the control can be selected.
(Inherited from Control)
CaptionBackColor This property is used to set or get the caption background color
CaptionFont This property is used to set or get the caption font
CaptionForeColor This property is used to set or get the caption foreground color
CaptionText This property is used to set or get the caption text
CaptionVisible This property is used to set or get whether or not the caption is displayed
CaptureGets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control)
CausesValidationGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
(Inherited from Control)
ClientRectangleGets the rectangle that represents the client area of the control.
(Inherited from Control)
ClientSizeGets or sets the height and width of the client area of the control.
(Inherited from Control)
CompanyNameGets the name of the company or creator of the application containing the control.
(Inherited from Control)
ContainerGets the IContainer that contains the Component.
(Inherited from Component)
ContainsFocusGets a value indicating whether the control, or one of its child controls, currently has the input focus.
(Inherited from Control)
ContextMenuStripGets or sets the ContextMenuStrip associated with this control.
(Inherited from Control)
ControlsGets the collection of controls contained within the control.
(Inherited from Control)
CreatedGets a value indicating whether the control has been created.
(Inherited from Control)
CreateParamsGets the required creation parameters when the control handle is created.
(Inherited from UserControl)
CurrentAutoScaleDimensionsGets the current run-time dimensions of the screen.
(Inherited from ContainerControl)
CurrentItem This is used to get a reference to the current item's row template
CurrentRow This read-only property is used to get the zero-based row number of the currently selected row item
CursorGets or sets the cursor that is displayed when the mouse pointer is over the control.
(Inherited from Control)
DataBindingsGets the data bindings for the control.
(Inherited from Control)
DataContextGets or sets the data context for the purpose of data binding. This is an ambient property.
(Inherited from Control)
DataMember This indicates the sub-list (if any) of the DataSource to show in the data list
DataSource This gets or sets the data source for the data list
DefaultCursorGets or sets the default cursor for the control.
(Inherited from Control)
DefaultImeModeGets the default Input Method Editor (IME) mode supported by the control.
(Inherited from Control)
DefaultMarginGets the space, in pixels, that is specified by default between controls.
(Inherited from Control)
DefaultMaximumSizeGets the length and height, in pixels, that is specified as the default maximum size of a control.
(Inherited from Control)
DefaultMinimumSizeGets the length and height, in pixels, that is specified as the default minimum size of a control.
(Inherited from Control)
DefaultPaddingGets the internal spacing, in pixels, of the contents of a control.
(Inherited from Control)
DefaultSizeGets the default size of the control.
(Inherited from UserControl)
DeleteRowShortcut This is used to set or get the shortcut key to use for deleting a row
DesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
DeviceDpiGets the DPI value for the display device where the control is currently being displayed.
(Inherited from Control)
DisplayRectangleGets the rectangle that represents the virtual display area of the control.
(Inherited from ScrollableControl)
DisposingGets a value indicating whether the base Control class is in the process of disposing.
(Inherited from Control)
DockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control)
DockPaddingGets the dock padding settings for all edges of the control.
(Inherited from ScrollableControl)
DoubleBufferedGets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
(Inherited from Control)
EnabledGets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control)
EventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
FocusedGets a value indicating whether the control has input focus.
(Inherited from Control)
FontGets or sets the font of the text displayed by the control.
(Inherited from Control)
FontHeightGets or sets the height of the font of the control.
(Inherited from Control)
FooterControl This is used to get a reference to the current footer template control if one has been specified
FooterTemplate The template control type to use for the footer
ForeColorGets or sets the foreground color of the control.
(Inherited from Control)
HandleGets the window handle that the control is bound to.
(Inherited from Control)
HasChanges This read-only property can be used to see if the data source has been modified
HasChildrenGets a value indicating whether the control contains one or more child controls.
(Inherited from Control)
HeaderControl This is used to get a reference to the current header template control if one has been specified
HeaderTemplate The template control type to use for the header
HeightGets or sets the height of the control.
(Inherited from Control)
HorizontalScrollGets the characteristics associated with the horizontal scroll bar.
(Inherited from ScrollableControl)
HScrollGets or sets a value indicating whether the horizontal scroll bar is visible.
(Inherited from ScrollableControl)
ImeModeGets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control)
ImeModeBaseGets or sets the IME mode of a control.
(Inherited from Control)
InvokeRequiredGets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
(Inherited from Control)
IsAccessibleGets or sets a value indicating whether the control is visible to accessibility applications.
(Inherited from Control)
IsAncestorSiteInDesignModeIndicates if one of the Ancestors of this control is sited and that site in DesignMode. This property is read-only.
(Inherited from Control)
IsBinding This read-only property can be used to see if the data list is in the process of binding to its data source.
IsDisposedGets a value indicating whether the control has been disposed of.
(Inherited from Control)
IsHandleCreatedGets a value indicating whether the control has a handle associated with it.
(Inherited from Control)
IsMirroredGets a value indicating whether the control is mirrored.
(Inherited from Control)
IsUndoing This read-only property can be used to see if changes are being undone
IsValid This property can be used to query the current row template to see if it is valid
Item[String] This can be used to get the value of the specified column in the currently selected item
Item[Int32, String] This can be used to get the value of the specified column in the specified row of the data list's data source.
LayoutEngineGets a cached instance of the control's layout engine.
(Inherited from Control)
LeftGets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
(Inherited from Control)
ListManager This returns the CurrencyManager that the data list is currently using to get data from the DataSource/DataMember pair.
LocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control)
MarginGets or sets the space between controls.
(Inherited from Control)
MaximumSizeGets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.
(Inherited from Control)
MinimumSizeGets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.
(Inherited from Control)
NameGets or sets the name of the control.
(Inherited from Control)
NavigationControlsVisible This property is used to set or get whether or not the navigation controls are displayed
PaddingGets or sets padding within the control.
(Inherited from Control)
ParentGets or sets the parent container of the control.
(Inherited from Control)
ParentFormGets the form that the container control is assigned to.
(Inherited from ContainerControl)
PreferredSizeGets the size of a rectangular area into which the control can fit.
(Inherited from Control)
ProductNameGets the product name of the assembly containing the control.
(Inherited from Control)
ProductVersionGets the version of the assembly containing the control.
(Inherited from Control)
RecreatingHandleGets a value indicating whether the control is currently re-creating its handle.
(Inherited from Control)
RegionGets or sets the window region associated with the control.
(Inherited from Control)
RenderRightToLeftThis property is now obsolete.
(Inherited from Control)
Obsolete.
RepeatInterval This property is used to set or get the repeat delay in milliseconds for the Next and Previous buttons when they are clicked and held down to navigate through the data source.
RepeatWait This property is used to set or get the initial wait in milliseconds before the Next and Previous buttons auto-repeat when clicked and held to navigate through the data source.
ResizeRedrawGets or sets a value indicating whether the control redraws itself when resized.
(Inherited from Control)
RightGets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control)
RightToLeftGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
(Inherited from Control)
RowCount This read-only property can be used to get the current row count from the data source
RowHeaderBackColor This property is used to set or get the row header's background color
RowHeaderForeColor This property is used to set or get the row header's foreground color
RowHeadersFlat This property is used to set or get whether to draw the row headers using a flat style
RowHeadersVisible This property is used to set or get whether or not row headers are displayed in front of each row
RowHeaderWidth This property is used to set or get the width of the row headers when the RowHeadersVisible property is true.
RowHeight This read-only property can be used to get the row height including the separator.
RowNumberNavShortcut This is used to set or get the shortcut key to use for jumping to the row number navigation text box
RowTemplate The template control type to use for rows in the data source
ScaleChildrenGets a value that determines the scaling of child controls.
(Inherited from Control)
SelectionBackColor This property is used to set or get the background color for selected row headers
SelectionEnd This property is used to set or get the zero-based ending row number of the currently selected range of rows.
SelectionForeColor This property is used to set or get the foreground color for selected row headers
SelectionStart This property is used to set or get the zero-based starting row number of the currently selected range of rows.
SeparatorColor This property is used to set or get the color of the separators when the SeparatorsVisible property is true.
SeparatorHeight This property is used to set or get the height of the separators when the SeparatorsVisible property is true.
SeparatorsVisible This property is used to set or get whether or not separators are displayed between rows
SharedDataSources This can be used to store data sources that are shared amongst all instances of the row, header, and footer templates.
ShowFocusCuesGets a value indicating whether the control should display focus rectangles.
(Inherited from Control)
ShowKeyboardCuesGets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
(Inherited from Control)
SiteGets or sets the site of the control.
(Inherited from Control)
SizeGets or sets the height and width of the control.
(Inherited from Control)
SwitchSectionShortcut This is used to set or get the shortcut key to use for jumping between the header, detail, and footer sections of the control.
TabIndexGets or sets the tab order of the control within its container.
(Inherited from Control)
TabStopGets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control)
TagGets or sets the object that contains data about the control.
(Inherited from Control)
TextGets or sets the text associated with this control.
(Inherited from UserControl)
TopGets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
(Inherited from Control)
TopLevelControlGets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control)
UseWaitCursorGets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control)
VerticalScrollGets the characteristics associated with the vertical scroll bar.
(Inherited from ScrollableControl)
VisibleGets or sets a value indicating whether the control and all its child controls are displayed.
(Inherited from Control)
VScrollGets or sets a value indicating whether the vertical scroll bar is visible.
(Inherited from ScrollableControl)
WidthGets or sets the width of the control.
(Inherited from Control)
WindowTargetThis property is not relevant for this class.
(Inherited from Control)

See Also