ComponentOne Extended Library for UWP
Clearing Items in a Book
Extended Library for UWP > Book for UWP > Book for UWP Task-Based Help > Clearing Items in a Book

You may choose to allow users to clear all items from the C1Book control at run time, or you may need to clear the items collection when binding and then rebinding the control to another data source.

For example, to clear the book's content, add the following code to your project:

Visual Basic
Copy Code

Copy Code

What You've Accomplished

The control's content will be cleared. If you run the application, you will observe that the book is blank.

See Also