Skip to main content
A newer version of this page is available. .

FloatGroup.WindowTaskbarIcon Attached Property

Gets or sets an icon displayed for the current float group in the Windows Taskbar. This is an attached property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

Returns

Type Description
ImageSource

An ImageSource object that specifies the icon displayed for the current float group in the Windows Taskbar.

Remarks

The following code sample specifies the FloatGroup‘s taskbar icon and title:

<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager>
    <dxdo:DockLayoutManager.FloatGroups>
      <dxdo:FloatGroup>
          <dxdo:LayoutPanel Caption="Panel1" dxdo:FloatGroup.WindowTaskbarTitle="Document"  
           dxdo:FloatGroup.WindowTaskbarIcon="{dx:DXImage Images/Pages/PageOrientationPortrait_32x32.png}"/>
      </dxdo:FloatGroup>
    </dxdo:DockLayoutManager.FloatGroups>
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>

DockLayoutManager - WindowTaskBarTitle and WindowTaskBarIcon Properties

Note

The WindowTaskbarIcon and WindowTaskbarTitle properties have effect only when DockLayoutManager.FloatingMode is Desktop.

See Also