Back to Devexpress

ThemedWindow.ShowIcon Property

wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-c2d23d65.md

latest3.3 KB
Original Source

ThemedWindow.ShowIcon Property

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

Declaration

csharp
public bool ShowIcon { get; set; }
vb
Public Property ShowIcon As Boolean

Property Value

TypeDescription
Boolean

true , to display a window’s icon; otherwise, false.

|

Remarks

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.

wpf-docklayoutmanager-use-services-that-implement-the-idocumentmanagerservice/CS/DXDocumentUIServiceSample/MainWindow.xaml#L10

xml
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

xml
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

xml
Height="800"
ShowIcon="False"
Title="Splash Screen Manager Example">

wpf-dialogservice-customize-dialog-buttons/CS/MainWindow.xaml#L6

xml
xmlns:views="clr-namespace:DXSample.Views"
ShowIcon="False"
Title="MainWindow" Height="250" Width="400">

See Also

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace