Back to Devexpress

ThemedWindow.Icon Property

wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-0c77686a.md

latest3.1 KB
Original Source

ThemedWindow.Icon Property

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public ImageSource Icon { get; set; }
vb
Public Property Icon As ImageSource

Property Value

Type
ImageSource

The following code snippets (auto-collected from DevExpress Examples) contain references to the Icon 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-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L16

xml
mc:Ignorable="d"
    Title="YourCRM" Height="665" Width="1190" EnableAcrylic="True" AcrylicOpacity="0.6" AcrylicColor="#FF02111D" Icon="{dx:DXImage SvgImages/Icon Builder/Business_Target.svg}" ActiveGlowColor="#FF02111D">
<dx:ThemedWindow.Resources>

wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L11

xml
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
Icon="{dxc:DXImage Image=Home_16x16.png}"
>

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-mvvm-framework-openfiledialogservice-and-savefiledialogservice/CS/FileDialogServicesSample/MainWindow.xaml#L9

xml
WindowKind="Ribbon"
Icon="{dx:DXImageOffice2013 Image=Solution_32x32.png}">
<Grid>

See Also

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace