Table of Contents

Method AddTestItems

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddTestItems(TreeViewItem, int, Action<TreeViewItem>?)

Adds test child items to the specified TreeViewItem.

public static void AddTestItems(TreeViewItem tree, int count, Action<TreeViewItem>? initAction = null)

Parameters

tree TreeViewItem

The tree control item to which test items will be added.

count int

The number of test items to add.

initAction Action<TreeViewItem>

The initialize action.