UserProperties class

UserProperties class

Special property class which allows typed properties to be set and
returned. It also allows the hookup of two default property objects
to be searched if this property object does not contain the property.

The UserProperties type exposes the following members:

Constructors

NameDescription
UserProperties()Initializes an empty instance of UserProperties class.

Methods

NameDescription
set_property(key, value)Sets string property value.
set_property(key, value)Sets string array property value.
set_property(key, value)Sets color property value.
set_property(key, value)Sets rectangle property value.
set_property(key, value)Sets margins property value.
set_property(key, value)Sets size property value.
set_property(key, value)Sets integer property value.
set_property(key, value)Sets double property value.
set_property(key, value)Sets float property value.
set_property(key, value)Sets boolean property value.
set_property(key, value)Sets matrix property value.
get_property(key)Gets string property value.
get_property(key, def_value)Gets string property value.
get_property_string_array(key)Gets string array property value.
get_property_string_array(key, def_value)Gets string array property value. If requested property is absent, returns provided default value.
get_property_color(key)Gets color property value.
get_property_color(key, def_value)Gets color property value. If requested property is absent, returns provided default value.
get_property_rectangle(key)Gets rectangle property value.
get_property_rectangle(key, def_value)Gets rectangle property value. If requested property is absent, returns provided default value.
get_property_margins(key)Gets margins property value.
get_property_margins(key, def_value)Gets margins property value.
get_property_size(key)Gets size property value.
get_property_size(key, def_value)Gets size property value. If requested property is absent, returns provided default value.
get_property_int(key)Gets integer property value.
get_property_int(key, def_value)Gets integer property value.
get_property_double(key)Gets double property value.
get_property_double(key, def_value)Gets double property value.
get_property_float(key)Gets float property value.
get_property_float(key, def_value)Gets float property value.
get_property_matrix(key)Gets matrix property value.
get_property_matrix(key, def_value)Gets matrix property value. If requested property is absent, returns provided default value.
is_property(key)Gets boolean property value.
is_property(key, def_value)Gets boolean property value. If requested property is absent, returns provided default value.
property_names()Returns properties names.
print_properties()

See Also