C# Class Microsoft.VisualStudio.R.Package.DataInspect.GridPoints

A utility class that contains cell width and height in a grid
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
ComputeDataViewport ( Rect visualViewport ) : GridRange
DeferChangeNotification ( bool suppressNotification ) : DeferNotification
GetAccessToPoints ( ScrollDirection scrollDirection ) : IPoints
GetHeight ( int rowIndex ) : double
GetWidth ( int columnIndex ) : double
GridPoints ( int rowCount, int columnCount, Size initialViewportSize ) : System
Reset ( int rowCount, int columnCount ) : void
SetHeight ( int yIndex, double value ) : void
SetWidth ( int xIndex, double value ) : void
xIndex ( double position ) : int
xPosition ( int xIndex ) : double
yIndex ( double position ) : int
yPosition ( int yIndex ) : double

Private Methods

Method Description
ComputePositions ( ) : void
ComputeXPositions ( ) : void
ComputeYPositions ( ) : void
EnsureXPositions ( ) : void
EnsureYPositions ( ) : void
Index ( double position, double positions ) : int
InitializeWidthAndHeight ( ) : void
OnPointChanged ( ) : void

Method Details

ComputeDataViewport() public method

public ComputeDataViewport ( Rect visualViewport ) : GridRange
visualViewport System.Windows.Rect
return GridRange

DeferChangeNotification() public method

public DeferChangeNotification ( bool suppressNotification ) : DeferNotification
suppressNotification bool
return DeferNotification

GetAccessToPoints() public method

public GetAccessToPoints ( ScrollDirection scrollDirection ) : IPoints
scrollDirection ScrollDirection
return IPoints

GetHeight() public method

public GetHeight ( int rowIndex ) : double
rowIndex int
return double

GetWidth() public method

public GetWidth ( int columnIndex ) : double
columnIndex int
return double

GridPoints() public method

public GridPoints ( int rowCount, int columnCount, Size initialViewportSize ) : System
rowCount int
columnCount int
initialViewportSize System.Windows.Size
return System

Reset() public method

public Reset ( int rowCount, int columnCount ) : void
rowCount int
columnCount int
return void

SetHeight() public method

public SetHeight ( int yIndex, double value ) : void
yIndex int
value double
return void

SetWidth() public method

public SetWidth ( int xIndex, double value ) : void
xIndex int
value double
return void

xIndex() public method

public xIndex ( double position ) : int
position double
return int

xPosition() public method

public xPosition ( int xIndex ) : double
xIndex int
return double

yIndex() public method

public yIndex ( double position ) : int
position double
return int

yPosition() public method

public yPosition ( int yIndex ) : double
yIndex int
return double