The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebPropertyEditor.NullText Property

Specifies the text displayed by WebPropertyEditor when its ControlValue is null.

Namespace: DevExpress.ExpressApp.Web.Editors

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


public string NullText { get; set; }
Public Property NullText As String

Property Value

Type Description

A string displayed instead of the null value.


The following View Controller changes this property value for the "MyStringProperty" editor in a MyObject Detail View.

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Web.Editors;
// ...
public class MyViewController : ObjectViewController<DetailView, MyObject> {
    protected override void OnActivated() {
        WebPropertyEditor propertyEditor = View.FindItem("MyStringProperty") as WebPropertyEditor;
        if(propertyEditor != null) {
            propertyEditor.NullText = "Type your text here...";
        // ...
See Also