Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CurrentUserDisplayMode Enum

Contains values specifying how the current user information is displayed at the top right corner of the application page when the ASP.NET Web Forms Application Appearance is used.

Namespace: DevExpress.ExpressApp.Web.SystemModule

Assembly: DevExpress.ExpressApp.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Web

#Declaration

public enum CurrentUserDisplayMode

#Members

Name Description Image
Default

A user class’ icon specified by the ImageNameAttribute and ‘My Account’ text are shown.

CurrentUserImage_Default

Caption

A user class’ icon specified by the ImageNameAttribute and a user display name specified by the XafDefaultPropertyAttribute are shown.

CurrentUserImage_Caption

CaptionAndImage

A user image specified by the CurrentUserDisplayImageAttribute and user display name specified by the XafDefaultPropertyAttribute are shown.

CurrentUserImage_CaptionAndImage

Image

An image specified by the CurrentUserDisplayImageAttribute and ‘My Account’ text are shown.

CurrentUserImageMode_Image

#Related API Members

The following properties accept/return CurrentUserDisplayMode values:

#Remarks

These enumeration values are used to initialize the IModelApplicationWeb.CurrentUserDisplayMode property.

See Also