public void DataGridViewButtonCellAccessibleObject_ControlType_ReturnsExpected() { var accessibleObject = new DataGridViewButtonCellAccessibleObject(null); Assert.Equal(UiaCore.UIA.ButtonControlTypeId, accessibleObject.GetPropertyValue(UiaCore.UIA.ControlTypePropertyId)); }
public void DataGridViewButtonCellAccessibleObject_GetPropertyValue_LegacyIAccessibleDefaultActionPropertyId_ReturnsExpected() { var accessibleObject = new DataGridViewButtonCellAccessibleObject(null); Assert.Equal(SR.DataGridView_AccButtonCellDefaultAction, accessibleObject.GetPropertyValue(UiaCore.UIA.LegacyIAccessibleDefaultActionPropertyId)); }