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)
297
object? result = DesignerUtils.
GetOptionValue
(provider: null, name: "SomeOption");
308
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");
319
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");
332
object? result = DesignerUtils.
GetOptionValue
(mockProvider.Object, "SomeOption");