XmlObjectBase Class
Provides the base class for a serializable representation of an object.
public abstract class XmlObjectBase
- Inheritance:
- Object Object
- Derived:
- XmlAutoHideHost XmlAutoHideTabStrip XmlDockingObject XmlDockSiteLayout XmlStandardMdiHost XmlTabbedMdiHost XmlNavigationBarLayout XmlNavigationPane
Constructors
XmlObjectBase()
protected XmlObjectBase()
Properties
Tag
Gets or sets an arbitrary object value that can be used to store custom information about this object.
public object Tag { get; set; }
Property Value
- Object:
The intended value. This property has no default value.
Methods
PointToString(Nullable<Point>)
Converts a nullable Point to a string that can be safely serialized to XML.
protected static string PointToString(Point? point)
Parameter | Type | Description |
---|---|---|
point | Nullable<Point> | The nullable Point to convert. |
Returns
- String:
The string that was generated.
RectToString(Nullable<Rect>)
Converts a nullable Rect to a string that can be safely serialized to XML.
protected static string RectToString(Rect? rect)
Parameter | Type | Description |
---|---|---|
rect | Nullable<Rect> | The nullable Rect to convert. |
Returns
- String:
The string that was generated.
SizeToString(Nullable<Size>)
Converts a nullable Size to a string that can be safely serialized to XML.
protected static string SizeToString(Size? size)
Parameter | Type | Description |
---|---|---|
size | Nullable<Size> | The nullable Size to convert. |
Returns
- String:
The string that was generated.
StringToPoint(String)
Converts a string value from serialized XML to a nullable Point.
protected static Point? StringToPoint(string text)
Parameter | Type | Description |
---|---|---|
text | String | The string to examine. |
Returns
StringToRect(String)
Converts a string value from serialized XML to a nullable Rect.
protected static Rect? StringToRect(string text)
Parameter | Type | Description |
---|---|---|
text | String | The string to examine. |
Returns
StringToSize(String)
Converts a string value from serialized XML to a nullable Size.
protected static Size? StringToSize(string text)
Parameter | Type | Description |
---|---|---|
text | String | The string to examine. |
Returns
StringToType(String)
Converts a string value from serialized XML to a Size.
protected static Type StringToType(string text)
Parameter | Type | Description |
---|---|---|
text | String | The string to examine. |
Returns
TypeToString(Type)
Converts a Type to a string that can be safely serialized to XML.
protected static string TypeToString(Type type)
Parameter | Type | Description |
---|---|---|
type | Type | The Type to convert. |
Returns
- String:
The string that was generated.