MonoTests.System.Windows.Automation.CustomProviderFragment.GetPropertyValue C# (CSharp) Method

GetPropertyValue() public method

public GetPropertyValue ( int propertyId ) : object
propertyId int
return object
		public override object GetPropertyValue (int propertyId)
		{
			if (propertyId == AEIds.NameProperty.Id)
				return "Custom Child";
			else if (propertyId == AEIds.ControlTypeProperty.Id)
				return ControlType.TabItem.Id;
			else
				return base.GetPropertyValue (propertyId);
		}
	}