Class WpfSettings<T>
- Namespace
- SharpVectors.Renderers
- Assembly
- SharpVectors.Rendering.Wpf.dll
This is the typed or generic abstract base class for most objects in this build library, and it defines the basic cloneable and serialization interfaces. This is used as the base object to create components object hierarchy.
[Serializable]
public abstract class WpfSettings<T> : WpfObject, ICloneable, IXmlSerializable where T : WpfSettings<T>
Type Parameters
T
The underlying value type of the WpfSettings<T> generic type.
- Inheritance
-
WpfSettings<T>
- Implements
- Derived
- Inherited Members
Remarks
This also provides a base class for component object hierarchy whose state
can be serialized to an XML
format.
Constructors
- WpfSettings()
Initializes a new instance of the WpfSettings<T> class to the default properties or values.
- WpfSettings(WpfSettings<T>)
Initializes a new instance of the WpfSettings<T> class with initial parameters copied from the specified instance of the specified WpfSettings<T> class, a copy constructor.
Fields
Methods
- Clone()
This creates a new build object that is a deep copy of the current instance.
- ReadXml(XmlReader)
This reads and sets its state or attributes stored in a
XML
format with the given reader.
- WriteXml(XmlWriter)
This writes the current state or attributes of this object, in the
XML
format, to the media or storage accessible by the given writer.