New to Telerik UI for WPFStart a free 30-day trial

A structure that represents a rectangular region of cells in RadVirtualGrid. The origin of the region is specified by the Left and Top properties. The extent of the region is specified by the Width and the Height properties.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public struct CellRegion

Constructors

Initializes a new instance of the CellRegion struct.

C#
public CellRegion(int left, int top, int width, int height)
Parameters:leftinttopintwidthintheightint

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: ValueType.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: ValueType.ToString()

Operators

Implements the operator !=.

C#
public static bool operator !=(CellRegion leftCellRegion, CellRegion rightCellRegion)
Parameters:leftCellRegionCellRegion

Left cell region.

rightCellRegionCellRegion

Right cell region.

Returns:

bool

The result of the operator.

Implements the operator ==.

C#
public static bool operator ==(CellRegion leftCellRegion, CellRegion rightCellRegion)
Parameters:leftCellRegionCellRegion

Left cell region.

rightCellRegionCellRegion

Right cell region.

Returns:

bool

The result of the operator.