C# Class Alsing.Windows.Forms.SyntaxBox.Painter.ViewPoint

View point struct used by the SyntaxBoxControl. The struct contains information about various rendering parameters that the IPainter needs.
Show file Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
Action EditAction
CharWidth int
ClientAreaStart int
ClientAreaWidth int
FirstVisibleColumn int
FirstVisibleRow int
GutterMarginWidth int
LineNumberMarginWidth int
RowHeight int
TextMargin int
TotalMarginWidth int
VisibleRowCount int
YOffset int

Property Details

Action public property

The action that the SyntaxBoxControl is currently performing
public EditAction Action
return EditAction

CharWidth public property

Width of a char (space) in pixels
public int CharWidth
return int

ClientAreaStart public property

Height of the client area in pixels
public int ClientAreaStart
return int

ClientAreaWidth public property

Width of the client area in pixels
public int ClientAreaWidth
return int

FirstVisibleColumn public property

Index of the first visible column
public int FirstVisibleColumn
return int

FirstVisibleRow public property

Index of the first visible row
public int FirstVisibleRow
return int

GutterMarginWidth public property

Width of the gutter margin in pixels
public int GutterMarginWidth
return int

LineNumberMarginWidth public property

Width of the Linenumber margin in pixels
public int LineNumberMarginWidth
return int

RowHeight public property

Height of a row in pixels
public int RowHeight
return int

TextMargin public property

Width of the text margin (sum of gutter + linenumber + folding margins)
public int TextMargin
return int

TotalMarginWidth public property

public int TotalMarginWidth
return int

VisibleRowCount public property

Number of rows that can be displayed in the current view
public int VisibleRowCount
return int

YOffset public property

Used for offsetting the screen in y axis.
public int YOffset
return int