Skip to main content

DockPanel

Description​

Use DockPanel when one element should pin to an edge while the remaining content fills the available space.

DockPanel in light mode DockPanel in dark mode

Example usage​

<fluence:DockPanel>
<fluence:Button DockPanel.Dock="Right" Content="Action" />
<TextBlock Text="Summary" />
</fluence:DockPanel>

State and behavior​

Dock attached properties pin children to edges while the final child fills remaining space.

Reference​