Class ListBase

This class provides the basic functionality for grids and lists

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        EPS.Windows.Forms.AdvancedControls.ListBase

public class ListBase : Control, IBindableControl

Class Members

MemberDescription
Constructor Constructor
ColumnHeaderClick Event that occurs when the user clicks on a column header
MeasureRowHeight Event that occurs when a row-height needs to be measures
RightRowClick Event that occurs when the user right-clicks a grid row
RowChanged Event that occurs whenever the selected row is changed
RowClick Event that occurs when the user single-clicks a grid row
RowDoubleClick Event that occurs when the user double-clicks a grid row
DataBind Triggers data binding
public sealed void DataBind();
GetPropertyValue Returns the value of the specified property on an object.
public object GetPropertyValue( object sourceObject,
string propertyName );
MakeSelectedRowVisible Makes sure that the (last) selected row is visible on screen
public void MakeSelectedRowVisible();
RefreshBoundData Force-refreshes the data bound to the grid.
public virtual void RefreshBoundData();
ResetRowsCollection Resets the internal collection of rows
public void ResetRowsCollection();
ScrollBottom Scrolls to the bottom of the list
public virtual void ScrollBottom();
ScrollBy Scrolls the displayed records up (negative values) or down (positive values)
public virtual void ScrollBy( int rowCount );
ScrollTop Scrolls to the top of the list
public virtual void ScrollTop();
ActiveColumn Active column.
AllowMultiSelect Defines whether or not row-multi-select is permitted.
BackColor List back color
BorderColor Indicates the border color for a single-line border.
BorderStyle Indicates the border style for the list.
Columns List columns
ControlSource Control Source property does not make sense for this control,
DataSource Gets or sets the data source the list is displaying data for.
DelayBinding Defines whether data binding is supposed to happen immediately,
DisplayScrollbars Should scrollbars be displayed and handled by this class?
EvenRowBackColor Back color for even rows
GridRows Returns a collection of all rows in the grid
GroupBy Field in the control source we group by
GroupHeaders Collection of group headers
HideSelection Should the selection be hidden when the control looses focus?
HorizontalGridLines Horizontal grid lines?
ListSource name of the object to dind the list to
MasterSortFields Field in the control source we group by
OddRowBackColor Back color for odd rows
RowHeight Default row height
RowSelectDelay Time (milli seconds) between a row select and the time the row select event fires.
SelectRowOnRightClick Should a right-click select the row?
ShowHeader Should a header be rendered?
SingleClickDelay Time (milli seconds) between a single click and the time the single click event fires.
SortFields Field in the control source we group by

Requirements

Namespace: EPS.Windows.Forms.AdvancedControls
Assembly: SIMPLECONTROLS.DLL


  Last Updated: 5/23/2007 | © , 2007