Table of Contents
HideRoleDisabledItems Property

Gets or sets a value indicating to hide or disable navigation items based on roles.

Syntax
 public Boolean HideRoleDisabledItems { get; set; }
Remarks

NavigationItem supports AllowRoles property through which you can specify roles that allow access to that navigation item. By default, navigation items not allowed are disabled. Setting HideRoleDisabledItems to True to hide the not-allowed items instead of disabling them.

See Also