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

Show file Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Empty CellPos

Private Properties

Property Type Description

Public Methods

Method 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 method

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
return System

Equals() public method

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
return bool

GetHashCode() public method

Returns the hash code for this CellPos structure
public GetHashCode ( ) : int
return int

Offset() public method

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
return void

ToString() public method

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

operator() public static method

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

Property Details

Empty public static property

Repsesents a null CellPos
public static CellPos,ZForge.Controls.XPTable.Models Empty
return CellPos