PropertyType class
Bases: Enum
All the possible element property types.
This is used when creating custom visual elements, where you have to indicate the type of each property.
Some types are 'dynamic', meaning that if the property value is modified, it is automatically handled by Taipy and propagated to the entire application.
See ElementProperty
for more details.
Attributes¶
boolean
class-attribute
instance-attribute
¶
boolean = 'boolean'
The property holds a Boolean value.
decimator
class-attribute
instance-attribute
¶
decimator = Decimator
The property holds an inner attributes that is defined by a library and cannot be overridden by the user.
dynamic_boolean
class-attribute
instance-attribute
¶
dynamic_boolean = _TaipyBool
The property is dynamic and holds a Boolean value.
dynamic_date
class-attribute
instance-attribute
¶
dynamic_date = 'dynamicdate'
The property is dynamic and holds a date.
dynamic_dict
class-attribute
instance-attribute
¶
dynamic_dict = _TaipyDict
The property is dynamic and holds a dictionary.
dynamic_list
class-attribute
instance-attribute
¶
dynamic_list = 'dynamiclist'
The property is dynamic and holds a list.
dynamic_lo_numbers
class-attribute
instance-attribute
¶
dynamic_lo_numbers = _TaipyLoNumbers
The property is dynamic and holds a list of numbers.
dynamic_number
class-attribute
instance-attribute
¶
dynamic_number = _TaipyNumber
The property is dynamic and holds a number.
dynamic_string
class-attribute
instance-attribute
¶
dynamic_string = 'dynamicstring'
The property is dynamic and holds a string.
function
class-attribute
instance-attribute
¶
function = 'function'
The property holds a reference to a function.
lov_no_default
class-attribute
instance-attribute
¶
lov_no_default = 'lovnodefault'
The property holds a LoV (list of values).
lov_value
class-attribute
instance-attribute
¶
lov_value = _TaipyLovValue
The property holds a value in a LoV (list of values).
string_or_number
class-attribute
instance-attribute
¶
string_or_number = 'string|number'
The property holds a string or a number.
This is typically used to handle CSS dimension values, where a unit can be used.