wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-c2d23d65.md
Gets or sets whether a window’s icon is displayed. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool ShowIcon { get; set; }
Public Property ShowIcon As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to display a window’s icon; otherwise, false.
|
When the ThemedWindow.ShowBackButton property is set to true , the window icon is hidden (i.e., the ShowIcon property returns false ).
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowIcon property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
xmlns:View="clr-namespace:DXDocumentUIServiceSample.View"
Title="DocumentUIServices" ShowIcon="False"
Width="1415" Height="620">
wpf-spreadsheet-control-create-a-data-entry-form/CS/WpfDataEntryFormSample/MainWindow.xaml#L12
mc:Ignorable="d"
Title="Spreadsheet Data Entry From Sample" Height="722" Width="896" WindowStartupLocation="CenterScreen" Icon="DevExpress.ico" ShowIcon="False" Loaded="MainWindow_Loaded">
<Window.Resources>
wpf-splash-screen-show-cancelable-wait-indicator/CS/SplashScreenManagerExample/MainWindow.xaml#L8
Height="800"
ShowIcon="False"
Title="Splash Screen Manager Example">
wpf-dialogservice-customize-dialog-buttons/CS/MainWindow.xaml#L6
xmlns:views="clr-namespace:DXSample.Views"
ShowIcon="False"
Title="MainWindow" Height="250" Width="400">
See Also