Skip to main content
PropertyEnum is a Property with additional enum-specific APIs.

Methods

values

The EnumValues of the enum.
local vmi = context:viewModel()
if vmi then
    local textAlignment = vmi:getEnum('textAlignment')

    if textAlignment then
        local values = textAlignment:values()
    end
end