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

Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty CellPos

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CellPos ( int row, int column ) : System

Initializes a new instance of the CellPos class with the specified row index and column index

Equals ( object obj ) : bool

Tests whether obj is a CellPos structure with the same values as this CellPos structure

GetHashCode ( ) : int

Returns the hash code for this CellPos structure

Offset ( int rows, int columns ) : void

Translates this CellPos by the specified amount

ToString ( ) : string

Converts the attributes of this CellPos to a human-readable string

operator ( ) : bool

Tests whether two CellPos structures differ in their Row and Column properties

Method Details

CellPos() public méthode

Initializes a new instance of the CellPos class with the specified row index and column index
public CellPos ( int row, int column ) : System
row int The Row index of the CellPos
column int The Column index of the CellPos
Résultat System

Equals() public méthode

Tests whether obj is a CellPos structure with the same values as this CellPos structure
public Equals ( object obj ) : bool
obj object The Object to test
Résultat bool

GetHashCode() public méthode

Returns the hash code for this CellPos structure
public GetHashCode ( ) : int
Résultat int

Offset() public méthode

Translates this CellPos by the specified amount
public Offset ( int rows, int columns ) : void
rows int The amount to offset the row index
columns int The amount to offset the column index
Résultat void

ToString() public méthode

Converts the attributes of this CellPos to a human-readable string
public ToString ( ) : string
Résultat string

operator() public static méthode

Tests whether two CellPos structures differ in their Row and Column properties
public static operator ( ) : bool
Résultat bool

Property Details

Empty public_oe static_oe property

Repsesents a null CellPos
public static CellPos,ZForge.Controls.XPTable.Models Empty
Résultat CellPos