expressappframework-113156-app-shell-and-base-infrastructure-application-personalization-change-an-application-logo-and-info.md
This topic describes how to change an application logo and description text. The following list details where these elements appear depending on the application platform.
ASP.NET Core Blazor: the top-left corner of the application’s main page.
Windows Forms: the application’s About window.
In Windows Forms applications, you can use an embedded resource image as a logo.
Note
In Windows Forms applications, you can use the AboutInfoController.AboutInfoAction Action to invoke the About window. It contains the AboutInfo object’s Detail View (AboutInfo_DetailView).
ASP.NET Core Blazor applications display the AboutInfoString property value on the Template.
In the Model Editor, you can use the following properties or the root Application node to specify application name, description, vendor, copyright, and version:
XAF adjusts the specified logo image according to the current theme and renders it as monochromatic (black and white) by default.
Depending on your application behavior or corporate style, you can use one of the following techniques:
To preserve the colors of your custom logo, specify the background-image attribute.
header-logo CSS class.If you do not want a colored custom logo and prefer that your current theme makes the logo image monochromatic (black and white), use the mask attribute.
Set the background-color property to currentColor to use the current color style. This applies to SVG images only.
header-logo CSS class.To use a custom logo, follow the steps below:
Save your custom logo to the Images folder in the module project (for example, MySolution.Module\Images\CustomLogo.png).
In Solution Explorer , click the Show All Files toolbar button. In the Images sub-folder, right-click the image you added and choose Include In Project.
Switch to the Properties window. Set the Build Action option to Embedded Resource.
Rebuild the solution and invoke the Model Editor. Focus the root Application node and click the IModelApplication.Logo property’s ellipsis button. In the invoked Image Picker dialog, choose your logo.
To ensure changes to the logo in a Windows Forms application, run the application and invoke the About window.
Refer to the Application Personalization topic for more information on the About window.