8 references to GetOptionValue
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
154
object value = DesignerUtils.
GetOptionValue
(ServiceProvider, "ShowGrid");
230
object value = DesignerUtils.
GetOptionValue
(ServiceProvider, "GridSize");
376
object optionValue = DesignerUtils.
GetOptionValue
(ServiceProvider, "SnapToGrid");
1306
defaultValue = DesignerUtils.
GetOptionValue
(ServiceProvider, optionName);
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\DesignerUtilsTests.cs (4)
294
object? result = DesignerUtils.
GetOptionValue
(provider: null, name: "SomeOption");
305
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");
316
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");
329
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");