Skip to content

taipy.gui.types.PropertyType

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.

boolean = 'boolean' class-attribute instance-attribute

The property holds a Boolean value.

decimator = Decimator class-attribute instance-attribute

The property holds an inner attributes that is defined by a library and cannot be overridden by the user.

dict = 'dict' class-attribute instance-attribute

The property holds a dictionary.

dynamic_boolean = _TaipyBool class-attribute instance-attribute

The property holds a dynamic Boolean value.

dynamic_dict = _TaipyDict class-attribute instance-attribute

The property holds a dynamic dictionary.

dynamic_lo_numbers = _TaipyLoNumbers class-attribute instance-attribute

The property holds a dynamic list of numbers.

dynamic_number = _TaipyNumber class-attribute instance-attribute

The property holds a dynamic number.

dynamic_string = 'dynamicstring' class-attribute instance-attribute

The property holds a dynamic string.

function = 'function' class-attribute instance-attribute

The property holds a reference to a function.

lov = _TaipyLov class-attribute instance-attribute

The property holds a LoV (list of values).

lov_value = _TaipyLovValue class-attribute instance-attribute

The property holds a value in a LoV (list of values).

number = 'number' class-attribute instance-attribute

The property holds a number.

string = 'string' class-attribute instance-attribute

The property holds a string.

string_or_number = 'string|number' class-attribute instance-attribute

The property holds a string or a number.

This is typically used to handle CSS dimension values, where a unit can be used.