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

A control that arranges Visual in grid
Inheritance: System.Windows.FrameworkElement
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Properties

Property Type Description
FontFamilyProperty System.Windows.DependencyProperty
FontSizeProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ArrangeVisuals void
ChooseTypeface System.Windows.Media.Typeface
CreateGrid void
InitVisual void
MeasurePoints void
ResetSortToPrimary void

Public Methods

Method Description
Clear ( ) : void
SetGridLineBrush ( System.Windows.Media.Brush brush ) : void
ToggleSort ( HeaderTextVisual v, bool add ) : void
VisualGrid ( ) : System

Protected Methods

Method Description
GetVisualChild ( int index ) : Visual
OnPreviewMouseDown ( MouseButtonEventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
ArrangeVisuals ( IPoints points ) : void
ChooseTypeface ( ) : System.Windows.Media.Typeface
CreateGrid ( GridRange newViewport, IGrid data, GridUpdateType updateType ) : void
InitVisual ( int r, int c, IGrid data, TextVisual visual ) : void
MeasurePoints ( IPoints points, GridRange newViewport, IGrid data, GridUpdateType updateType ) : void
ResetSortToPrimary ( HeaderTextVisual primary ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetVisualChild() protected method

protected GetVisualChild ( int index ) : Visual
index int
return Visual

OnPreviewMouseDown() protected method

protected OnPreviewMouseDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs
return void

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

SetGridLineBrush() public method

public SetGridLineBrush ( System.Windows.Media.Brush brush ) : void
brush System.Windows.Media.Brush
return void

ToggleSort() public method

public ToggleSort ( HeaderTextVisual v, bool add ) : void
v HeaderTextVisual
add bool
return void

VisualGrid() public method

public VisualGrid ( ) : System
return System

Property Details

FontFamilyProperty public_oe static_oe property

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

FontSizeProperty public_oe static_oe property

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

HeaderProperty public_oe static_oe property

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