maze-project
Show / Hide Table of Contents

Class SelectionState

The SelectionFrane class holds a selection state for a grid

Inheritance
object
SelectionState
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Maze.Maui.Controls.InteractiveGrid
Assembly: Maze.Maui.Controls.dll
Syntax
public class SelectionState

Constructors

SelectionState(CellRange?, CellPoint?, CellPoint?)

Constructor

Declaration
public SelectionState(CellRange? selectedCells, CellPoint? activeCellPoint, CellPoint? anchorCellPoint)
Parameters
Type Name Description
CellRange selectedCells

Selected cell range

CellPoint activeCellPoint

Active cell point

CellPoint anchorCellPoint

Anchor cell point

Properties

ActiveCellPoint

Active cell point

Declaration
public CellPoint? ActiveCellPoint { get; }
Property Value
Type Description
CellPoint

Active cell point

AnchorCellPoint

Anchor cell point

Declaration
public CellPoint? AnchorCellPoint { get; }
Property Value
Type Description
CellPoint

Anchor cell point

SelectedCells

Selected cell range

Declaration
public CellRange? SelectedCells { get; }
Property Value
Type Description
CellRange

Selected cell range

Methods

ClampColumns(int)

Restricts the columns associated with the object so that they do not exceed the given maximum column number

Declaration
public void ClampColumns(int maxColumn)
Parameters
Type Name Description
int maxColumn

Maximum column number

ClampRows(int)

Restricts the rows associated with the object so that they do not exceed the given maximum row number

Declaration
public void ClampRows(int maxRow)
Parameters
Type Name Description
int maxRow

Maximum row number

In this article
Back to top Generated by DocFX