Back to Devexpress

FloatGroup.WindowTaskbarIcon Attached Property

wpf-devexpress-dot-xpf-dot-docking-dot-floatgroup-4af715e2.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

See GetWindowTaskbarIcon(DependencyObject) and SetWindowTaskbarIcon(DependencyObject, ImageSource).

Returns

TypeDescription
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:

xaml
<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>

Note

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

See Also

WindowTaskbarTitle

FloatGroup Class

FloatGroup Members

DevExpress.Xpf.Docking Namespace