Click or drag to resize

Fields

Fields are value containers that can be accessed through scope boundaries and are able to invoke actions when value changes.

Example
                  <
                  Element Id="Incubator1">
  <Fields>
    <Field Id="Incubator_IsOpen" Value="False" Type="bool">
      <ChangedHandler>
        <CompositeAction>
          ...
        </CompositeAction>
      </ChangedHandler>
    </Field>
  </Fields>
</Element>
Getting value

Field value can be obtained using FieldValue markup extension.

Example
                  <
                  Button IsVisible="{FieldValue Incubator_IsOpen}" />
Setting value

Value can be set with SetField action.

Example
                  <
                  SetField FieldId="Incubator_IsOpen" Value="True" />
Allowed types
  • object (default)
  • bool
  • int
  • float
  • double
  • string