Skip to content

Commit

Permalink
Update DockControl.axaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Jul 18, 2021
1 parent 2c2d607 commit d830a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Dock.Avalonia/Controls/DockControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
<ItemsControl Items="{Binding VisibleDockables}">
<ItemsControl.Styles>
<Style Selector="ItemsControl > ContentPresenter" x:DataType="core:IDock">
<Setter Property="DockPanel.Dock" Value="{Binding Dock}" />
<Setter Property="(DockPanel.Dock)"
Value="{Binding Dock, Converter={x:Static converters:DockModeConverter.Instance}}" />
</Style>
</ItemsControl.Styles>
<ItemsControl.ItemsPanel>
Expand Down

0 comments on commit d830a49

Please sign in to comment.