Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 780 Bytes

SetProperty.md

File metadata and controls

19 lines (10 loc) · 780 Bytes

SetProperty

SetProperty(control.propertyName, propertyValue)

This is the same functionality as the Power Apps SetProperty function.

When working with a nested gallery, use Index() within the SetProperty function.

Example

SetProperty(TextInput.Text, "Say Something")

SetProperty(Dropdown1.Selected, {Value:"2"})

SetProperty(ComboBox1.SelectedItems, Table({Value:"1"},{Value:"2"}))

SetProperty(Index(Gallery1.AllItems, 1).TextInput1.Text, "Change the text input")

Select(Index(Index(Gallery1.AllItems, 1).Gallery2.AllItems, 1).TextInput1.Text, "Change the text input")