Base:
property
Bounds
System.Windows.Forms.AccessibleObject.Bounds
30 references to Bounds
System.Windows.Forms (5)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (5)
93
if (ThumbAccessibleObject?.
Bounds
.Contains(point) == true)
98
if (FirstLineButtonAccessibleObject?.
Bounds
.Contains(point) == true)
103
if (FirstPageButtonAccessibleObject?.
Bounds
.Contains(point) == true)
108
if (LastPageButtonAccessibleObject?.
Bounds
.Contains(point) == true)
113
if (LastLineButtonAccessibleObject?.
Bounds
.Contains(point) == true)
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (2)
46
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
57
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
46
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarChildAccessibleObjectTests.cs (3)
27
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
39
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
50
Assert.NotEqual(Rectangle.Empty, accessibleObject.
Bounds
);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (2)
44
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
55
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
46
Assert.Equal(Rectangle.Empty, accessibleObject.
Bounds
);
System\Windows\Forms\ScrollBarTests.cs (16)
2941
Assert.True(HFirstPageButton(hScrollBar).
Bounds
.Width > 0);
2942
Assert.True(HFirstPageButton(hScrollBar).
Bounds
.Height > 0);
2955
Assert.True(HFirstPageButton(hScrollBar).
Bounds
.Width == 0 || HFirstPageButton(hScrollBar).
Bounds
.Height == 0);
2985
Assert.True(HLastPageButton(hScrollBar).
Bounds
.Width > 0);
2986
Assert.True(HLastPageButton(hScrollBar).
Bounds
.Height > 0);
2999
Assert.True(HLastPageButton(hScrollBar).
Bounds
.Width == 0 || HLastPageButton(hScrollBar).
Bounds
.Height == 0);
3029
Assert.True(VFirstPageButton(vScrollBar).
Bounds
.Width == 0 || VFirstPageButton(vScrollBar).
Bounds
.Height == 0);
3042
Assert.True(VLastPageButton(vScrollBar).
Bounds
.Width > 0);
3043
Assert.True(VLastPageButton(vScrollBar).
Bounds
.Height > 0);
3056
Assert.True(VLastPageButton(vScrollBar).
Bounds
.Width == 0 || VLastPageButton(vScrollBar).
Bounds
.Height == 0);
3086
Assert.True(VFirstPageButton(vScrollBar).
Bounds
.Width > 0);
3087
Assert.True(VFirstPageButton(vScrollBar).
Bounds
.Height > 0);