C# Класс DSShared.Lists.CustomListColumnCollection

Class that manages a collection of CustomListColumn objects in a CustomList control
Наследование: System.Collections.IEnumerable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
colLeftChanged void
colWidthChanged void

Открытые методы

Метод Описание
Add ( CustomListColumn column ) : void

Adds the specified column to the collection

CustomListColumnCollection ( ) : System

Initializes a new instance of the T:CustomListColumnCollection class.

GetColumn ( string name ) : CustomListColumn

Gets the column with the specified name

GetEnumerator ( ) : System.Collections.IEnumerator

Returns an enumerator that iterates through a collection.

MouseDown ( MouseEventArgs e ) : void

The parent calls this when the mouse button is pressed

MouseMove ( MouseEventArgs e ) : void

The parent calls this when the mouse is moved

MouseUp ( MouseEventArgs e ) : void

The parent calls this when the mouse button is released

Render ( PaintEventArgs e, int rowHeight, int yOffset ) : void

Renders this control to the supplied PaintEventArgs

this ( int idx ) : CustomListColumn

Gets or sets the T:CustomListColumn with the specified idx.

Приватные методы

Метод Описание
colLeftChanged ( CustomListColumn col, int amount ) : void
colWidthChanged ( CustomListColumn col, int amount ) : void

Описание методов

Add() публичный Метод

Adds the specified column to the collection
public Add ( CustomListColumn column ) : void
column CustomListColumn The column.
Результат void

CustomListColumnCollection() публичный Метод

Initializes a new instance of the T:CustomListColumnCollection class.
public CustomListColumnCollection ( ) : System
Результат System

GetColumn() публичный Метод

Gets the column with the specified name
public GetColumn ( string name ) : CustomListColumn
name string The name.
Результат CustomListColumn

GetEnumerator() публичный Метод

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : System.Collections.IEnumerator
Результат System.Collections.IEnumerator

MouseDown() публичный Метод

The parent calls this when the mouse button is pressed
public MouseDown ( MouseEventArgs e ) : void
e MouseEventArgs The instance containing the event data.
Результат void

MouseMove() публичный Метод

The parent calls this when the mouse is moved
public MouseMove ( MouseEventArgs e ) : void
e MouseEventArgs The instance containing the event data.
Результат void

MouseUp() публичный Метод

The parent calls this when the mouse button is released
public MouseUp ( MouseEventArgs e ) : void
e MouseEventArgs The instance containing the event data.
Результат void

Render() публичный Метод

Renders this control to the supplied PaintEventArgs
public Render ( PaintEventArgs e, int rowHeight, int yOffset ) : void
e PaintEventArgs The instance containing the event data.
rowHeight int Height of the row.
yOffset int The y offset.
Результат void

this() публичный Метод

Gets or sets the T:CustomListColumn with the specified idx.
public this ( int idx ) : CustomListColumn
idx int
Результат CustomListColumn