編輯

共用方式為


DataGridCellsPresenter.OnRender(DrawingContext) Method

Definition

Called by the layout system to draw a horizontal line below the cells if horizontal grid lines are visible.

protected:
 override void OnRender(System::Windows::Media::DrawingContext ^ drawingContext);
protected override void OnRender (System.Windows.Media.DrawingContext drawingContext);
override this.OnRender : System.Windows.Media.DrawingContext -> unit
Protected Overrides Sub OnRender (drawingContext As DrawingContext)

Parameters

drawingContext
DrawingContext

The drawing instructions for the cells. This context is provided to the layout system.

Applies to

See also