[GroupBox] Missing (original) (raw)
There is no GroupBox like In WPF. Although it's not essential, this control is useful to label groups of controls.
TEMPORARY TRICK:
Although it doesn't exist, it can be emulated with a HeaderedContentControl with a custom Style:
<Style Selector="HeaderedContentControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Border>
<StackPanel>
<ContentPresenter TextBlock.FontWeight="Bold" Content="{TemplateBinding Header}" />
<Border
BorderBrush="{TemplateBinding Background}"
BorderThickness="2"
CornerRadius="5">
<ContentPresenter Content="{TemplateBinding Content}" />
</Border>
</StackPanel>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>