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