AutomationPeerHelper.AddChildren - метод
Помощник добавления всех дочерних элементов, для которых есть узлы автоматизации.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
public static void AddChildren(
UIElement parent,
List<AutomationPeer> automationChilds,
Func<UIElement, bool> skipElementFilter = null
)
Public Shared Sub AddChildren (
parent As UIElement,
automationChilds As List(Of AutomationPeer),
Optional skipElementFilter As Func(Of UIElement, Boolean) = Nothing
)
public:
static void AddChildren(
UIElement^ parent,
List<AutomationPeer^>^ automationChilds,
Func<UIElement^, bool>^ skipElementFilter = nullptr
)
static member AddChildren :
parent : UIElement *
automationChilds : List<AutomationPeer> *
?skipElementFilter : Func<UIElement, bool>
-> unit
Параметры
- parent UIElement
- Родительский элемент.
- automationChilds List<AutomationPeer>
- Список для добавления.
- skipElementFilter Func<UIElement, Boolean> (Optional)
- Фильтр, отсекающий ненужные элементы.