views:

67

answers:

1

Does anybody know how to get a border in WPF with a caption, i.e. the way web browsers display <fieldset> tags ? Is there an easy way, like setting a property, or am I going to have to make a ControlTemplate ?

+3  A: 

Perhaps a GroupBox?

<GroupBox>
    <GroupBox.Header>
      <Label>Hello</Label>
    </GroupBox.Header>
    <TextBlock Text="World!" />
</GroupBox>
sixlettervariables
That did the trick, thank you very much
Alex Marshall