Back to Devexpress

IModelApplication.ProtectedContentText Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelapplication-7b6053ae.md

latest2.2 KB
Original Source

IModelApplication.ProtectedContentText Property

Specifies text that is displayed instead of the data protected by the Security System.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(" *******")]
string ProtectedContentText { get; set; }
vb
<DefaultValue(" *******")>
Property ProtectedContentText As String

Property Value

TypeDefaultDescription
String"*******"

A string specifying text that is displayed instead of the data protected by the Security System.

|

Remarks

The ProtectedContentText text is available at the UI level for grid and tree List Editors and for built-in Property Editors. The default control value is replaced by this text. No ProtectedContentText string exists at the data source level. Protected properties return default type values instead of actual values. The null value is returned for reference properties, zero - for integer properties, DateTime.MinValue for DateTime properties. These default values will be shown in reports, charts, pivot grids, the scheduler and in custom controls.

See Also

ProtectedContentText

Security (Access Control & Authentication)

IModelApplication Interface

IModelApplication Members

DevExpress.ExpressApp.Model Namespace