5 references to ContextMenuDefaultLocation
System.Windows.Forms.Tests (1)
System\Windows\Forms\PropertyGridTests.cs (1)
71
Assert.NotEqual(Point.Empty, control.
ContextMenuDefaultLocation
);
System.Windows.Forms.UI.IntegrationTests (4)
PropertyGridTests.cs (4)
226
_propertyGrid.
ContextMenuDefaultLocation
.Should().NotBeNull();
228
Point oldLocation = _propertyGrid.
ContextMenuDefaultLocation
;
232
_propertyGrid.
ContextMenuDefaultLocation
.X.Should().Be(oldLocation.X + newLocation.X);
233
_propertyGrid.
ContextMenuDefaultLocation
.Y.Should().Be(oldLocation.Y + newLocation.Y);