NibManagerTest.ListController.ShouldAutorotateToInterfaceOrientation C# (CSharp) Method

ShouldAutorotateToInterfaceOrientation() public method

public ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
toInterfaceOrientation UIInterfaceOrientation
return bool
        public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation)
        {
            // Return true for supported orientations
            return (toInterfaceOrientation != UIInterfaceOrientation.PortraitUpsideDown);
        }