Rock Mobile Docs

Literal

Inherits from Xamarin.Forms.Label

This field acts as a read-only field for you. Basically, it is a simple label that can be used with the field container. For example, if you wish to display some attribute values that the user does not have access to edit, you can use the Literal to display the formatted value of the attribute.

Properties

PropertyTypeDescription
LabelstringThe label associated with this input field.
IsRequiredboolIgnored since this field is not editable.
TextstringThe text to display in the field's contents.

Example

<Rock:FieldContainer>
    <Rock:Literal Label="Category" Text="All Church" />
</Rock:FieldContainer>