Testing Persistence

You can use a property bag, a stream, or storage to test the persistence of your control.

Property Bag

To save a single control using a property bag

1. Select a control.

2. From the Control menu, choose Save to Property Bag.

3. Click OK.

Stream

To save a single control using a stream

1. Select a control.

2. From the Control menu, choose Save to Stream.

3. Provide a filename using the File name and Save as type fields.

To insert a control from a stream

1. From the Edit menu, choose Insert Control From Stream.

2. Select the stream to open using the Open dialog box.

A new control is created and initialized from the previously saved version of the control.

Storage

To save a single control using storage

1. Select a control.

2. From the Control menu, choose Save to Storage.

3. Provide a filename using the File name and Save as type fields.

To insert a single control from storage

1. From the Edit menu, choose Insert Control From Storage.

2. Select the storage to open using the Open dialog box.

A new control is created and initialized from the previously saved version of the control.