C# 클래스 XPTable.Models.Column

상속: System.ComponentModel.Component
파일 보기 프로젝트 열기: binaryage/xrefresh 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultWidth int
MaximumWidth int
MinimumWidth int
ResizePadding int
state byte

Private Properties

프로퍼티 타입 설명
GetState bool
Init void
SetState void
ShouldSerializeEditable bool
ShouldSerializeEnabled bool
ShouldSerializeWidth bool

공개 메소드들

메소드 설명
Column ( ) : System

Creates a new Column with default values

Column ( string text ) : System

Creates a new Column with the specified header text

Column ( string text, Image image ) : System

Creates a new Column with the specified header text and image

Column ( string text, Image image, int width ) : System

Creates a new Column with the specified header text, image and width

Column ( string text, Image image, int width, bool visible ) : System

Creates a new Column with the specified header text, image, width and visibility

Column ( string text, int width ) : System

Creates a new Column with the specified header text and width

Column ( string text, int width, bool visible ) : System

Creates a new Column with the specified header text, width and visibility

CreateDefaultEditor ( ) : ICellEditor

Gets the Column's default CellEditor

CreateDefaultRenderer ( ) : ICellRenderer

Gets the Column's default CellRenderer

GetDefaultEditorName ( ) : string

Gets a string that specifies the name of the Column's default CellEditor

GetDefaultRendererName ( ) : string

Gets a string that specifies the name of the Column's default CellRenderer

보호된 메소드들

메소드 설명
OnPropertyChanged ( XPTable.Events.ColumnEventArgs e ) : void

Raises the PropertyChanged event

비공개 메소드들

메소드 설명
GetState ( int flag ) : bool

Returns the state represented by the specified state flag

Init ( ) : void

Initialise default values

SetState ( int flag, bool value ) : void

Sets the state represented by the specified state flag to the specified value

ShouldSerializeEditable ( ) : bool

Specifies whether the Editable property should be serialized at design time

ShouldSerializeEnabled ( ) : bool

Specifies whether the Enabled property should be serialized at design time

ShouldSerializeWidth ( ) : bool

Specifies whether the Width property should be serialized at design time

메소드 상세

Column() 공개 메소드

Creates a new Column with default values
public Column ( ) : System
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text
public Column ( string text ) : System
text string The text displayed in the column's header
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text and image
public Column ( string text, Image image ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text, image and width
public Column ( string text, Image image, int width ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
width int The column's width
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text, image, width and visibility
public Column ( string text, Image image, int width, bool visible ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
width int The column's width
visible bool Specifies whether the column is visible
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text and width
public Column ( string text, int width ) : System
text string The text displayed in the column's header
width int The column's width
리턴 System

Column() 공개 메소드

Creates a new Column with the specified header text, width and visibility
public Column ( string text, int width, bool visible ) : System
text string The text displayed in the column's header
width int The column's width
visible bool Specifies whether the column is visible
리턴 System

CreateDefaultEditor() 공개 추상적인 메소드

Gets the Column's default CellEditor
public abstract CreateDefaultEditor ( ) : ICellEditor
리턴 ICellEditor

CreateDefaultRenderer() 공개 추상적인 메소드

Gets the Column's default CellRenderer
public abstract CreateDefaultRenderer ( ) : ICellRenderer
리턴 ICellRenderer

GetDefaultEditorName() 공개 추상적인 메소드

Gets a string that specifies the name of the Column's default CellEditor
public abstract GetDefaultEditorName ( ) : string
리턴 string

GetDefaultRendererName() 공개 추상적인 메소드

Gets a string that specifies the name of the Column's default CellRenderer
public abstract GetDefaultRendererName ( ) : string
리턴 string

OnPropertyChanged() 보호된 메소드

Raises the PropertyChanged event
protected OnPropertyChanged ( XPTable.Events.ColumnEventArgs e ) : void
e XPTable.Events.ColumnEventArgs A ColumnEventArgs that contains the event data
리턴 void

프로퍼티 상세

DefaultWidth 공개적으로 정적으로 프로퍼티

The default width of a Column
public static int DefaultWidth
리턴 int

MaximumWidth 공개적으로 정적으로 프로퍼티

The maximum width of a Column
public static int MaximumWidth
리턴 int

MinimumWidth 공개적으로 정적으로 프로퍼티

The minimum width of a Column
public static int MinimumWidth
리턴 int

ResizePadding 공개적으로 정적으로 프로퍼티

The amount of space on each side of the Column that can be used as a resizing handle
public static int ResizePadding
리턴 int

state 공개적으로 프로퍼티

Contains the current state of the the Column
public byte state
리턴 byte