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

Text that appears in grid header. Tracks sorting order and displays the appropriate sort order glyph.
Inheritance: TextVisual
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Properties

Property Type Description
SortOrderProperty System.Windows.DependencyProperty

Public Methods

Method Description
HeaderTextVisual ( int columnIndex ) : System.Globalization
ToggleSortOrder ( ) : void

Protected Methods

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

Calculates column header render size taking into account optional sorting arrow, if any.

Private Methods

Method Description
HasArrow ( string text ) : bool
SetArrowDisplay ( ) : void

Method Details

GetRenderSize() protected method

Calculates column header render size taking into account optional sorting arrow, if any.
protected GetRenderSize ( System.Windows.Media.FormattedText formattedText, double &offset ) : Size
formattedText System.Windows.Media.FormattedText
offset double
return System.Windows.Size

HeaderTextVisual() public method

public HeaderTextVisual ( int columnIndex ) : System.Globalization
columnIndex int
return System.Globalization

ToggleSortOrder() public method

public ToggleSortOrder ( ) : void
return void

Property Details

SortOrderProperty public static property

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