expressappframework-devexpress-dot-expressapp-dot-security-d13587ce.md
Applied to business class properties together with the Browsable(false) attribute. Unhides a hidden property in the Member Permissions configuration UI. The target property remains hidden in other places.
Namespace : DevExpress.ExpressApp.Security
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class SecurityBrowsableAttribute :
Attribute
<AttributeUsage(AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple:=False, Inherited:=True)>
Public Class SecurityBrowsableAttribute
Inherits Attribute
The following attributes combination makes the MyProperty property hidden everywhere except for the Members dropdown list in the Member Permissions tab.
[Browsable(false), SecurityBrowsable]
public virtual string MyProperty { get; set; }
[Browsable(false), SecurityBrowsable]
public string MyProperty {
get => myProperty;
set => SetPropertyValue(nameof(MyProperty), ref myProperty, value);
}
Object Attribute SecurityBrowsableAttribute
See Also