AtspiUiaSource.DataItemElement.GetCurrentPatternInternal C# (CSharp) Méthode

GetCurrentPatternInternal() private méthode

private GetCurrentPatternInternal ( AutomationPattern pattern ) : object
pattern System.Windows.Automation.AutomationPattern
Résultat object
		internal override object GetCurrentPatternInternal (AutomationPattern pattern)
		{
			if (pattern == GridItemPatternIdentifiers.Pattern)
				return new DataItemGridItemSource (this);
			if (pattern == SelectionItemPatternIdentifiers.Pattern)
				return new SelectionItemSource ((Element) FirstChild);
			return base.GetCurrentPatternInternal (pattern);
		}