C# Class ZForge.Controls.XPTable.Models.Column

Inheritance: System.ComponentModel.Component
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultWidth int
MaximumWidth int
MinimumWidth int
ResizePadding int
state byte

Private Properties

Свойство Type Description
GetState bool
Init void
SetState void
ShouldSerializeEditable bool
ShouldSerializeEnabled bool
ShouldSerializeWidth bool

Méthodes publiques

Méthode Description
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

GetMaximumContentWidth ( ) : int

Gets an int that specifies the maximum width of the Column's cell contents

GetMinimumHeaderWidth ( ) : int

Gets an int that specifies the minimum width of the Column's header contents

Méthodes protégées

Méthode Description
OnPropertyChanged ( ColumnEventArgs e ) : void

Raises the PropertyChanged event

Private Methods

Méthode Description
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

Method Details

Column() public méthode

Creates a new Column with default values
public Column ( ) : System
Résultat System

Column() public méthode

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

Column() public méthode

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
Résultat System

Column() public méthode

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
Résultat System

Column() public méthode

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
Résultat System

Column() public méthode

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
Résultat System

Column() public méthode

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
Résultat System

CreateDefaultEditor() public abstract méthode

Gets the Column's default CellEditor
public abstract CreateDefaultEditor ( ) : ICellEditor
Résultat ICellEditor

CreateDefaultRenderer() public abstract méthode

Gets the Column's default CellRenderer
public abstract CreateDefaultRenderer ( ) : ICellRenderer
Résultat ICellRenderer

GetDefaultEditorName() public abstract méthode

Gets a string that specifies the name of the Column's default CellEditor
public abstract GetDefaultEditorName ( ) : string
Résultat string

GetDefaultRendererName() public abstract méthode

Gets a string that specifies the name of the Column's default CellRenderer
public abstract GetDefaultRendererName ( ) : string
Résultat string

GetMaximumContentWidth() public méthode

Gets an int that specifies the maximum width of the Column's cell contents
public GetMaximumContentWidth ( ) : int
Résultat int

GetMinimumHeaderWidth() public méthode

Gets an int that specifies the minimum width of the Column's header contents
public GetMinimumHeaderWidth ( ) : int
Résultat int

OnPropertyChanged() protected méthode

Raises the PropertyChanged event
protected OnPropertyChanged ( ColumnEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnEventArgs A ColumnEventArgs that contains the event data
Résultat void

Property Details

DefaultWidth public_oe static_oe property

The default width of a Column
public static int DefaultWidth
Résultat int

MaximumWidth public_oe static_oe property

The maximum width of a Column
public static int MaximumWidth
Résultat int

MinimumWidth public_oe static_oe property

The minimum width of a Column
public static int MinimumWidth
Résultat int

ResizePadding public_oe static_oe property

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

state public_oe property

Contains the current state of the the Column
public byte state
Résultat byte