XDisplay
|
Encapsulates all display properties defined in the Carbon suite. The properties exist on a hierarchy of child classes which group them in a logical way that is familar to Ruby users. The child class structure also provides a good intellisense experience for developers exploring the large numbers of properties.
Methods are provided to serialize all or selected properties to-and-from a custom string format made from joined tokens in the format DotPath=Value.
public class XDisplayProperties
The XDisplayProperties type exposes the following members.
Name | Description | |
---|---|---|
XDisplayProperties | Constructs a properties object and sets some properties to default values suitable for basic usage. | |
XDisplayProperties(String, String) | Constructs a properties object and overrides default values by deserializing a custom string of DotPath=Value joined tokens. |
Name | Description | |
---|---|---|
AsString | Returns all props as \n delimited string | |
Deserialize | Deserializes the string of joined DotPath=Value properties into property values. | |
DeserializeProp | Deserializes a single property dotpath and string representation of a property value. | |
GetProp | Gets the value of a dotpath property. | |
Serialize | Serializes properties to a joined string. All serializable properties in the nest of classes are converted into tokens of the form DotPath=Value and joined together into a single string. | |
SetProp | Deserializes a single property dotpath and property object value. | |
SetPropFromString | Deserializes a single property dotpath and property string value. |