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

Inheritance: System.Windows.Media.DrawingVisual
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Properties

Property Type Description
ColumnProperty System.Windows.DependencyProperty
RowProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
Draw ( ) : bool
GetFormattedText ( ) : System.Windows.Media.FormattedText
ToggleHighlight ( ) : void

Protected Methods

Method Description
GetRenderSize ( System.Windows.Media.FormattedText formattedText, double &offset ) : Size
Invalidate ( ) : void

Private Methods

Method Description
IsNumerical ( string text ) : bool

Method Details

Draw() public method

public Draw ( ) : bool
return bool

GetFormattedText() public method

public GetFormattedText ( ) : System.Windows.Media.FormattedText
return System.Windows.Media.FormattedText

GetRenderSize() protected method

protected GetRenderSize ( System.Windows.Media.FormattedText formattedText, double &offset ) : Size
formattedText System.Windows.Media.FormattedText
offset double
return System.Windows.Size

Invalidate() protected method

protected Invalidate ( ) : void
return void

ToggleHighlight() public method

public ToggleHighlight ( ) : void
return void

Property Details

ColumnProperty public static property

public static DependencyProperty,System.Windows ColumnProperty
return System.Windows.DependencyProperty

RowProperty public static property

public static DependencyProperty,System.Windows RowProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty