Implemented interface member:
property
Dynamic
System.ITestAccessor.Dynamic
72 references to Dynamic
System.Windows.Forms.Primitives.Tests (11)
System\Windows\Forms\Automation\TestAccessors.UiaTextRangeTestAccessor.cs (11)
20
get =>
Dynamic
._start;
21
set =>
Dynamic
._start = value;
26
get =>
Dynamic
._end;
27
set =>
Dynamic
._end = value;
30
public UiaTextProvider _provider =>
Dynamic
._provider;
32
public CapStyle GetCapStyle(WINDOW_STYLE windowStyle) => (CapStyle)
Dynamic
.GetCapStyle(windowStyle);
34
public double GetFontSize(LOGFONTW logfont) =>
Dynamic
.GetFontSize(logfont);
37
=> (HorizontalTextAlignment)
Dynamic
.GetHorizontalTextAlignment(windowStyle);
39
public bool GetReadOnly() =>
Dynamic
.GetReadOnly();
41
public void MoveTo(int start, int end) =>
Dynamic
.MoveTo(start, end);
43
public void ValidateEndpoints() =>
Dynamic
.ValidateEndpoints();
System.Windows.Forms.Tests (61)
KeyboardTooltipStateMachineTests.cs (8)
67
instance.TestAccessor().
Dynamic
._currentTool = control;
68
instance.TestAccessor().
Dynamic
._currentState = KeyboardToolTipStateMachine.SmState.Shown;
72
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
73
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
99
instance.TestAccessor().
Dynamic
._currentTool = control;
100
instance.TestAccessor().
Dynamic
._currentState = KeyboardToolTipStateMachine.SmState.Shown;
104
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
105
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (6)
69
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
84
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
102
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
119
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
137
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
179
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (11)
15
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
32
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
42
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
43
ToolStripButton propertyPagesButton = propertyGrid.TestAccessor().
Dynamic
._viewPropertyPagesButton;
60
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
73
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
101
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
129
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
151
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
178
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
179
ToolStripButton propertyPagesButton = propertyGrid.TestAccessor().
Dynamic
._viewPropertyPagesButton;
System\Windows\Forms\ContainerControlTests.cs (8)
1323
instance.TestAccessor().
Dynamic
._currentTool = control;
1324
instance.TestAccessor().
Dynamic
._currentState = (byte)2;
1327
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
1328
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
1348
instance.TestAccessor().
Dynamic
._currentTool = control;
1349
instance.TestAccessor().
Dynamic
._currentState = (byte)2;
1352
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
1353
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (4)
19
propertyGridView.Properties.AddValue(propertyGrid.TestAccessor().
Dynamic
.s_accessibilityProperty, accessibleObject);
22
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
26
propertyGridView.TestAccessor().
Dynamic
._dropDownHolder = dropDownHolder;
74
var selectedGridEntry = propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry as PropertyDescriptorGridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
55
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (8)
30
PropertyDescriptorGridEntry selectedGridEntry = propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry;
36
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
59
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
64
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
72
propertyGridView.TestAccessor().
Dynamic
._dropDownHolder = dropDownHolder;
179
gridView.TestAccessor().
Dynamic
.EditTextBox.CreateControl(true); // "true" means ignoring Visible value
200
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
203
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = null;
System\Windows\Forms\PropertyGridInternal\TestAccessors.PropertyGridTestAccessor.cs (4)
12
internal Windows.Forms.PropertyGridInternal.PropertyGridView GridView =>
Dynamic
._gridView;
14
internal void SaveSelectedTabIndex() {
Dynamic
.SaveSelectedTabIndex(); }
16
internal bool TryGetSavedTabIndex(out int selectedTabIndex) { return
Dynamic
.TryGetSavedTabIndex(out selectedTabIndex); }
18
internal Dictionary<int, int> _designerSelections =>
Dynamic
._designerSelections;
System\Windows\Forms\PropertyGridInternal\TestAccessors.PropertyGridViewTestAccessor.cs (2)
14
get =>
Dynamic
.selectedGridEntry;
15
set =>
Dynamic
.selectedGridEntry = value;
System\Windows\Forms\PropertyGridTests.cs (7)
3877
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
3890
ImageList normalButtons = propertyGrid.TestAccessor().
Dynamic
._normalButtonImages;
3896
ImageList newNormalButtons = propertyGrid.TestAccessor().
Dynamic
._normalButtonImages;
3995
accessor.
Dynamic
.OnPropertyValueChanged(new PropertyValueChangedEventArgs(gridItem, 0));
3999
accessor.
Dynamic
.OnPropertyValueChanged(new PropertyValueChangedEventArgs(gridItem, 0));
4090
accessor.
Dynamic
.OnPropertyTabChanged(new PropertyTabChangedEventArgs(oldTab, newTab));
4117
accessor.
Dynamic
.OnSelectedGridItemChanged(new SelectedGridItemChangedEventArgs(null, gridItem));
System\Windows\Forms\PropertyGridToolStripButtonTests.cs (1)
12
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
System\Windows\Forms\TestAccessors.KeyboardToolTipStateMachineTestAccessor.cs (1)
13
internal bool IsToolTracked(IKeyboardToolTip sender) => (bool)
Dynamic
.IsToolTracked(sender);