C# Класс SourceGrid.Selection.FreeSelection

A selection class that support free selection of cells (ranges)
Наследование: SelectionBase
Показать файл Открыть проект

Открытые методы

Метод Описание
BindToGrid ( GridVirtual p_grid ) : void
FreeSelection ( ) : System
GetSelectionRegion ( ) : RangeRegion

Returns the selected region.

IntersectsWith ( Range rng ) : bool

Returns true if the specified selection intersect with the range

IsEmpty ( ) : bool

Returns true if the selection is empty

IsSelectedCell ( Position position ) : bool
IsSelectedColumn ( int column ) : bool
IsSelectedRange ( Range range ) : bool
IsSelectedRow ( int row ) : bool
SelectCell ( Position position, bool select ) : void
SelectColumn ( int column, bool select ) : void
SelectRange ( Range range, bool select ) : void
SelectRow ( int row, bool select ) : void
UnBindToGrid ( ) : void

Защищенные методы

Метод Описание
OnResetSelection ( ) : void

Описание методов

BindToGrid() публичный Метод

public BindToGrid ( GridVirtual p_grid ) : void
p_grid GridVirtual
Результат void

FreeSelection() публичный Метод

public FreeSelection ( ) : System
Результат System

GetSelectionRegion() публичный Метод

Returns the selected region.
public GetSelectionRegion ( ) : RangeRegion
Результат RangeRegion

IntersectsWith() публичный Метод

Returns true if the specified selection intersect with the range
public IntersectsWith ( Range rng ) : bool
rng Range
Результат bool

IsEmpty() публичный Метод

Returns true if the selection is empty
public IsEmpty ( ) : bool
Результат bool

IsSelectedCell() публичный Метод

public IsSelectedCell ( Position position ) : bool
position Position
Результат bool

IsSelectedColumn() публичный Метод

public IsSelectedColumn ( int column ) : bool
column int
Результат bool

IsSelectedRange() публичный Метод

public IsSelectedRange ( Range range ) : bool
range Range
Результат bool

IsSelectedRow() публичный Метод

public IsSelectedRow ( int row ) : bool
row int
Результат bool

OnResetSelection() защищенный Метод

protected OnResetSelection ( ) : void
Результат void

SelectCell() публичный Метод

public SelectCell ( Position position, bool select ) : void
position Position
select bool
Результат void

SelectColumn() публичный Метод

public SelectColumn ( int column, bool select ) : void
column int
select bool
Результат void

SelectRange() публичный Метод

public SelectRange ( Range range, bool select ) : void
range Range
select bool
Результат void

SelectRow() публичный Метод

public SelectRow ( int row, bool select ) : void
row int
select bool
Результат void

UnBindToGrid() публичный Метод

public UnBindToGrid ( ) : void
Результат void