I am struggling a little bit with the SfDataForm. I have a simple DataForm with different values like a login username. I want to display that value in the DataForm, but I want to disable that this field is editable, so that you can not focus the value and start to edit it. I want something like that a textinput is disabled, you can not focus it and can not start editing the value. I tried to play around with the annotations like ReadOnly and Editable, but it seems that they affect exactly nothing. Is there somebody that can help me?
[Display(Name = "Login username")]
public string LoginUser
_loginUser = value;