Hi Graham
Lee
Based on device density, drawing a border of width
1(default value) will result in a border drawn for 2.25 pixels in your device.
This results in that pixel being shared, for 0.25% for drawing border and the
remaining 0.75% for the next view canvas.
So this phenomenon of pixel sharing happens in devices
that has this decimal densities. Whereas devices with whole densities like 3,4
usually don't have these issues. So as to test the same, please try setting
border width as 1.33 or 1.77 and test in your 2.25 density device
you can set border like this
|
public DataGridPage()
{ InitializeComponent();
this.DataGrid.GridSyle = new MyStyle
} |
|
public class MyStyle:DataGridStyle
{
public override float GetBorderWidth()
{ return 1.33f;
} } |