C# 클래스 DSShared.Lists.CustomListColumn

Class representing a column in a CustomList control
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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