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)
69
instance.TestAccessor().
Dynamic
._currentTool = control;
70
instance.TestAccessor().
Dynamic
._currentState = KeyboardToolTipStateMachine.SmState.Shown;
74
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
75
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
101
instance.TestAccessor().
Dynamic
._currentTool = control;
102
instance.TestAccessor().
Dynamic
._currentState = KeyboardToolTipStateMachine.SmState.Shown;
106
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
107
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (6)
71
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
86
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
104
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
121
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
139
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
181
PropertyGridView gridView = control.TestAccessor().
Dynamic
._gridView;
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (11)
17
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
34
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
44
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
45
ToolStripButton propertyPagesButton = propertyGrid.TestAccessor().
Dynamic
._viewPropertyPagesButton;
62
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
75
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
103
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
131
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
153
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
180
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
181
ToolStripButton propertyPagesButton = propertyGrid.TestAccessor().
Dynamic
._viewPropertyPagesButton;
System\Windows\Forms\ContainerControlTests.cs (8)
1325
instance.TestAccessor().
Dynamic
._currentTool = control;
1326
instance.TestAccessor().
Dynamic
._currentState = (byte)2;
1329
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
1330
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
1350
instance.TestAccessor().
Dynamic
._currentTool = control;
1351
instance.TestAccessor().
Dynamic
._currentState = (byte)2;
1354
IKeyboardToolTip currentTool = instance.TestAccessor().
Dynamic
._currentTool;
1355
string currentState = instance.TestAccessor().
Dynamic
._currentState.ToString();
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (4)
21
propertyGridView.Properties.AddValue(propertyGrid.TestAccessor().
Dynamic
.s_accessibilityProperty, accessibleObject);
24
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
28
propertyGridView.TestAccessor().
Dynamic
._dropDownHolder = dropDownHolder;
76
var selectedGridEntry = propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry as PropertyDescriptorGridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
57
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (8)
32
PropertyDescriptorGridEntry selectedGridEntry = propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry;
38
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
61
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = gridEntry;
66
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
74
propertyGridView.TestAccessor().
Dynamic
._dropDownHolder = dropDownHolder;
181
gridView.TestAccessor().
Dynamic
.EditTextBox.CreateControl(true); // "true" means ignoring Visible value
202
Assert.NotEqual(IntPtr.Zero, propertyGridView.TestAccessor().
Dynamic
.EditTextBox.Handle);
205
propertyGridView.TestAccessor().
Dynamic
._selectedGridEntry = null;
System\Windows\Forms\PropertyGridInternal\TestAccessors.PropertyGridTestAccessor.cs (4)
14
internal Windows.Forms.PropertyGridInternal.PropertyGridView GridView =>
Dynamic
._gridView;
16
internal void SaveSelectedTabIndex() {
Dynamic
.SaveSelectedTabIndex(); }
18
internal bool TryGetSavedTabIndex(out int selectedTabIndex) { return
Dynamic
.TryGetSavedTabIndex(out selectedTabIndex); }
20
internal Dictionary<int, int> _designerSelections =>
Dynamic
._designerSelections;
System\Windows\Forms\PropertyGridInternal\TestAccessors.PropertyGridViewTestAccessor.cs (2)
16
get =>
Dynamic
.selectedGridEntry;
17
set =>
Dynamic
.selectedGridEntry = value;
System\Windows\Forms\PropertyGridTests.cs (7)
3879
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
3892
ImageList normalButtons = propertyGrid.TestAccessor().
Dynamic
._normalButtonImages;
3898
ImageList newNormalButtons = propertyGrid.TestAccessor().
Dynamic
._normalButtonImages;
3997
accessor.
Dynamic
.OnPropertyValueChanged(new PropertyValueChangedEventArgs(gridItem, 0));
4001
accessor.
Dynamic
.OnPropertyValueChanged(new PropertyValueChangedEventArgs(gridItem, 0));
4092
accessor.
Dynamic
.OnPropertyTabChanged(new PropertyTabChangedEventArgs(oldTab, newTab));
4119
accessor.
Dynamic
.OnSelectedGridItemChanged(new SelectedGridItemChangedEventArgs(null, gridItem));
System\Windows\Forms\PropertyGridToolStripButtonTests.cs (1)
14
ToolStripButton[] toolStripButtons = propertyGrid.TestAccessor().
Dynamic
._viewSortButtons;
System\Windows\Forms\TestAccessors.KeyboardToolTipStateMachineTestAccessor.cs (1)
15
internal bool IsToolTracked(IKeyboardToolTip sender) => (bool)
Dynamic
.IsToolTracked(sender);