public void BrowseForValue() { PropertyGridCategory propertyGridCategory = propertyGrid.Category("Input"); PropertyGridProperty property = propertyGridCategory.GetProperty("FileName"); property.BrowseForValue(); keyboard.PressSpecialKey(KeyboardInput.SpecialKeys.ESCAPE); }
public void CannotBrowseForValue() { PropertyGridProperty propertyWithoutBrowseButton = propertyGrid.Category("General").GetProperty("WindowSize"); propertyWithoutBrowseButton.BrowseForValue(); }