Skybound Rebar

RebarState Class

Persists the state of the rows, bands and buttons on a Rebar control.

For a list of all members of this type, see RebarState Members.

System.Object
   Skybound.Rebar.RebarState

[Visual Basic]
Public Class RebarState
[C#]
public class RebarState

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The RebarState class encapsulates the state of a Rebar class, including the bands, buttons and their associated settings.

You can obtain an instance of RebarState that represents the current state of an existing Rebar by calling its SaveState method. You can then use WriteTo to write the state to an XML file or an XmlWriter. Later, you can restore the state using FromFile, FromXmlReader or FromXmlString, and passing it to the LoadState method of the Rebar.

You may also create states at design-time by using the "Save State" and "Load State" designer verbs. See 8. Saving and Loading States for more information.

NOTE: The XML schema used to save the state will be published at a later date.

Requirements

Namespace: Skybound.Rebar

Assembly: Skybound.Rebar (in Skybound.Rebar.dll)

See Also

RebarState Members | Skybound.Rebar Namespace