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

Class representing a column in a CustomList control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MinWidth int

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

Метод Описание
CustomListColumn ( ) : System

Initializes a new instance of the T:CustomListColumn class.

CustomListColumn ( string title ) : System

Initializes a new instance of the T:CustomListColumn class.

CustomListColumn ( string title, ObjProperty property ) : System

Initializes a new instance of the T:CustomListColumn class.

CustomListColumn ( string title, System property ) : System

Initializes a new instance of the T:CustomListColumn class.

Equals ( object other ) : bool

Equality test. Based on GetHashCode() between objects of this type

FireClick ( ObjRow row ) : void

Raises the OnClick event for the specified row

FireKeyPress ( ObjRow row, KeyPressEventArgs e ) : void

Raises the KeyPress event for the specified row

GetHashCode ( ) : int

Gets the hash code of the title of this column

ResizeTitle ( System font ) : void

Resizes the title width based on the size of the input font

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

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

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

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

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

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

Initializes a new instance of the T:CustomListColumn class.
public CustomListColumn ( string title, ObjProperty property ) : System
title string Column title
property ObjProperty ObjProperty that will reflect on the objects contained in the list
Результат System

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

Initializes a new instance of the T:CustomListColumn class.
public CustomListColumn ( string title, System property ) : System
title string Column title
property System PropertyInfo that will reflect on the objects contained in the list
Результат System

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

Equality test. Based on GetHashCode() between objects of this type
public Equals ( object other ) : bool
other object
Результат bool

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

Raises the OnClick event for the specified row
public FireClick ( ObjRow row ) : void
row ObjRow Row to raise event with
Результат void

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

Raises the KeyPress event for the specified row
public FireKeyPress ( ObjRow row, KeyPressEventArgs e ) : void
row ObjRow Row to raise event with
e System.Windows.Forms.KeyPressEventArgs Args
Результат void

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

Gets the hash code of the title of this column
public GetHashCode ( ) : int
Результат int

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

Resizes the title width based on the size of the input font
public ResizeTitle ( System font ) : void
font System
Результат void

Описание свойств

MinWidth публичное статическое свойство

Minimum width of a column
public static int MinWidth
Результат int