public void PropertyGridViewAccessibleObject_FragmentNavigate_DoesNotThrowExpection_WithoutOwnerGrid(int direction) { using PropertyGrid propertyGrid = new PropertyGrid(); using PropertyGridView propertyGridView = new PropertyGridView(null, null); AccessibleObject accessibleObject = new PropertyGridViewAccessibleObject(propertyGridView, propertyGrid); Assert.Null(accessibleObject.FragmentNavigate((UiaCore.NavigateDirection)direction)); }
public void PropertyGridViewAccessibleObject_Ctor_Default() { using PropertyGrid propertyGrid = new PropertyGrid(); AccessibleObject accessibleObject = propertyGrid.GridViewAccessibleObject; Assert.NotNull(accessibleObject); using PropertyGridView propertyGridView = new PropertyGridView(null, propertyGrid); accessibleObject = new PropertyGridViewAccessibleObject(propertyGridView, propertyGrid); Assert.NotNull(accessibleObject); }