Winrt custrom grid control with gridlines
问题 I want to make a custom grid control, because the default doesn't support showing grid lines. I found a wpf solution for this, but the winrt lacks few features that the wpf supports. The code in the wpf soulution is something like this : protected override void OnRender(DrawingContext dc) { if (ShowCustomGridLines) { foreach (var rowDefinition in RowDefinitions) { dc.DrawLine(new Pen(GridLineBrush, GridLineThickness), new Point(0, rowDefinition.Offset), new Point(ActualWidth, rowDefinition