System.Windows.Automation.DesktopElement.GetSupportedProperties C# (CSharp) Method

GetSupportedProperties() public method

public GetSupportedProperties ( ) : System.Windows.Automation.AutomationProperty[]
return System.Windows.Automation.AutomationProperty[]
		public AutomationProperty [] GetSupportedProperties ()
		{
			//TODO need to test whether other properties' values are 'NotSupported'
			return new AutomationProperty [] {
				AutomationElementIdentifiers.AcceleratorKeyProperty,
				AutomationElementIdentifiers.AccessKeyProperty,
				AutomationElementIdentifiers.AutomationIdProperty,
				AutomationElementIdentifiers.BoundingRectangleProperty,
				AutomationElementIdentifiers.ClassNameProperty,
				AutomationElementIdentifiers.ControlTypeProperty,
				AutomationElementIdentifiers.FrameworkIdProperty,
				AutomationElementIdentifiers.HasKeyboardFocusProperty,
				AutomationElementIdentifiers.HelpTextProperty,
				AutomationElementIdentifiers.ItemStatusProperty,
				AutomationElementIdentifiers.ItemTypeProperty,
				AutomationElementIdentifiers.IsControlElementProperty,
				AutomationElementIdentifiers.IsContentElementProperty,
				AutomationElementIdentifiers.IsEnabledProperty,
				AutomationElementIdentifiers.IsKeyboardFocusableProperty,
				AutomationElementIdentifiers.IsOffscreenProperty,
				AutomationElementIdentifiers.IsPasswordProperty,
				AutomationElementIdentifiers.IsRequiredForFormProperty,
				AutomationElementIdentifiers.LabeledByProperty,
				AutomationElementIdentifiers.LocalizedControlTypeProperty,
				AutomationElementIdentifiers.NameProperty,
				AutomationElementIdentifiers.OrientationProperty,
				AutomationElementIdentifiers.ProcessIdProperty,
				AutomationElementIdentifiers.RuntimeIdProperty
			};
		}