
Display
Displays static text data
Show only
Demo
Two-way binding automatically gets the display labels in the resource file
Demo
When the Dispaly
components turn on bidirectional binding, the Display/DisplayName
label value is automatically obtained based on the Model
property value of the binding and appears as a pre-Label
, with DisplayText
properties you can customize the display of the pre-label, or by turning off the display of the pre-label through the ShowLabel
property
Set the DisplayText
value to custom label
The value of DisplayText
is displayed when ShowLabel
is true
, regardless of whether the value is set
The value of DisplayText
is not displayed when the ShowLabel
is false
The Display
component has built-in processing of enumerated
collections
array
, customize formatting or callback delegate methods if they do not meet the criteria
Demo
The Dispaly
component is used in form components EditorForm
, and is used in detail pages and is not editable
Demo
When you set the FormatString
property value to yyyy-MM-dd
, the component displays a time format of the year and day
Demo
FormatString
Formatter
The Dispaly
component binding byte[]
array, formatted as an example of base64
encoded string
Formatter
Set the Lookup
value to IEnumerable<SelectedItem>
collection, through which the component will perform translations through the Value
display Text
Demo
Value='@IntValue'
set Lookup='@IntValueSource'
component to display the Value
corresponding to the value of the Text
ValueAttributes
B station related video link
交流群