L
Lloyd Dupont
I have a scrolable control
I set its scrollable position to
this.AutoScrollPosition = new Point(20, 20);
if I get the position after that, it's inverted!
Console.WriteLine(this.AutoScrollPosition);
=> {X=-20, y=-20}
and if I try to set negative value, they are zeroed....
this.AutoScrollPosition = new Point(-20, -20);
Console.WriteLine(this.AutoScrollPosition);
=> {X=0, Y=0}
my question is:
is it normal? (hence I should program with this logic in mind)
or is it a bug? (hence that would be fixed and I will have to modify my
code)
I set its scrollable position to
this.AutoScrollPosition = new Point(20, 20);
if I get the position after that, it's inverted!
Console.WriteLine(this.AutoScrollPosition);
=> {X=-20, y=-20}
and if I try to set negative value, they are zeroed....
this.AutoScrollPosition = new Point(-20, -20);
Console.WriteLine(this.AutoScrollPosition);
=> {X=0, Y=0}
my question is:
is it normal? (hence I should program with this logic in mind)
or is it a bug? (hence that would be fixed and I will have to modify my
code)