CesGridViewPro - CesSolutions/Ces.WinForm.UI GitHub Wiki

Description / توضیح

This control has been made with combination of other dot net controls to create a grid view with filtering row.

این کنترل از ترکیب سایر کنترل‌های دات نت ایجاد شده و دارای یک ردیف جهت فیلترینگ گرید می باشد

Properties / ویژگی ها

  • CesHeaders : Return a list of all headers in grid. Header is type of CesColumnHeader.
  • CesRowSizeMode : Can be one of CesGridViewRowSizeModeEnum items
  • CesTheme : Set theme of control
  • CesDataSource : Data source to show in grid control.
  • CesEnableFilteringRow : Enable/Disable filtering row
  • CesHeaderHeight : Height of header can be set to any number by assigning int value to this property.
  • CesHeaderTextAlignment : Change header text alignment in column header
  • CesTitleTextAlignment : Change text alignment in title
  • CesTitleVisible : Set visibility of title
  • CesTitle : Set title for grid
  • CesTitleColor : Set color for title in grid
  • CesEnableOptions : Set visibility of option button in top-left corner
  • CesHeaders : لیتسی از عنوان ستون‌ها را بر می‌گرداند که از نوع CesColumnHeader می‌باشد
  • CesRowSizeMode : آین آیتم می‌توان یکی از اعضای لیست شمارشی CesGridViewRowSizeModeEnum باشد
  • CesTheme : تنظیم تم کنترل
  • CesDataSource : تخصیص منبع اطلاعات جهت نمایش اطلاعات در گرید
  • CesEnableFilteringRow : فعال/غیرفعال کردن ردیف فیلترینگ
  • CesHeaderHeight : تعیین ارتفاع عنوان ستون‌ها
  • CesHeaderTextAlignment : تعیین موقعیت متن عناون ستون
  • CesTitleTextAlignment : تعیین موقعیت عنوان گرید
  • CesTitleVisible : نمایش/عدم نمایش عنوان گرید
  • CesTitle : تعیین متن عنوان گرید
  • CesTitleColor : تعیین رنگ عنوان گرید
  • CesEnableOptions : فعال/غیرفعال کردن دکمه Option که در موقعیت چپ-بالا قرار دارد

Standard Grid Properties / ویژگی‌های استاندارد گرید

  • RowCount
  • Rows
  • SelectedRows
  • SelectedColumns
  • SelectedCells
  • CurrentRow
  • CurrentCellAddress
  • CurrentCell
  • ColumnCount
  • RowHeadersVisible
  • RowHeadersDefaultCellStyle
  • RowHeadersBorderStyle
  • ReadOnly
  • MultiSelect
  • RowHeadersWidth
  • GridColor
  • RowsDefaultCellStyle
  • ShowRowErrors
  • ShowCellToolTips
  • ShowCellErrors
  • SelectionMode
  • ScrollBars
  • RowTemplate
  • ShowEditingIcon
  • AutoSizeRowsMode
  • AutoSizeColumnsMode
  • AlternatingRowsDefaultCellStyle
  • AllowUserToResizeRows
  • AllowUserToResizeColumns
  • AllowUserToOrderColumns
  • AllowUserToDeleteRows
  • AllowUserToAddRows
  • DefaultCellStyle
  • Columns
  • CellBorderStyle

CesGridViewRowSizeModeEnum

    public enum CesGridViewRowSizeModeEnum : int
    {
        Compact = 20,
        Normal = 30,
        Comfortable = 38,
    }

Events / رویدادها

  • OptionsButtonClick : For option button can assign code to execute special actions
  • OptionsButtonClick : جهت اجرای دستورات ویژه، می‌توان برای رویداد کلیک دکمه Option کد نویسی کرد

Grid Standard Events / رویدادهای استاندارد گرید

public event EventHandler<DataGridViewCellEventArgs> GridViewCellClick;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellContentClick;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellContentDoubleClick;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellDoubleClick;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellEnter;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellLeave;
public event EventHandler<DataGridViewCellMouseEventArgs> GridViewCellMouseClick;
public event EventHandler<DataGridViewCellMouseEventArgs> GridViewCellMouseDoubleClick;
public event EventHandler<DataGridViewCellMouseEventArgs> GridViewCellMouseDown;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellMouseEnter;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellMouseLeave;
public event EventHandler<DataGridViewCellMouseEventArgs> GridViewCellMouseUp;
public event EventHandler<DataGridViewCellPaintingEventArgs> GridViewCellPainting;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellValidated;
public event EventHandler<DataGridViewCellValidatingEventArgs> GridViewCellValidating;
public event EventHandler<DataGridViewCellEventArgs> GridViewCellValueChanged;
public event EventHandler<DataGridViewColumnEventArgs> GridViewColumnAdded;
public event EventHandler<DataGridViewColumnEventArgs> GridViewColumnRemoved;
public event EventHandler<KeyEventArgs> GridViewKeyDown;
public event EventHandler<KeyPressEventArgs> GridViewKeyPress;
public event EventHandler<KeyEventArgs> GridViewKeyUp;
public event EventHandler<PaintEventArgs> GridViewPaint;
public event EventHandler<EventArgs> GridViewSelectionChanged;
public event EventHandler<DataGridViewRowEventArgs> GridViewUserAddedRow;
public event EventHandler<DataGridViewRowEventArgs> GridViewUserDeletedRow;
public event EventHandler<DataGridViewRowCancelEventArgs> GridViewUserDeletingRow;
public event EventHandler<EventArgs> GridViewValidated;
public event EventHandler<CancelEventArgs> GridViewValidating;
⚠️ **GitHub.com Fallback** ⚠️