Skip to main content

Border

Description​

Border extends the WPF Border with themed surface presets.

Border in light mode Border in dark mode

Example usage​

<fluence:Border
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
CornerRadius="8"
Padding="12">
<TextBlock Text="Framed content" />
</fluence:Border>

Key properties​

PropertyDefaultPurpose
VariantNoneChoose Card, Subtle, or Divider, or retain None for a custom border.

State and behavior​

BorderBrush, thickness, and corner radius frame content and follow dynamic theme resources.

Reference​