Hi Mike,
We try to have behaviors as similar as possible to the standard Microsoft controls. It's also the case for the Expander control. By slightly changing the snippet, and not applying any Xceed Theme, we can see that the behavior is the same with the standard MS controls.
For example:
<Expander Grid.Row="0"
Margin="2,2,2,2"
IsExpanded="True"
FontWeight="Bold">
<Expander.Header>
<Border BorderBrush="Red"
BorderThickness="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<TextBlock Text="Description" />
</Border>
</Expander.Header>
<TextBox IsReadOnly="True"
FontWeight="Normal"
Text="{Binding Path=IssueFormat}"
TextWrapping="Wrap"
BorderThickness="0" />
</Expander>
<Expander Grid.Row="1"
Margin="2,2,2,2"
IsExpanded="False"
Header="Affected Object Description"
FontWeight="Bold">
<TextBox IsReadOnly="True"
FontWeight="Normal"
Text="{Binding Path=AffectedFormat}"
TextWrapping="Wrap"
BorderThickness="0" />
</Expander>
We simply changed the header of the first Expander to a Border with a TextBlock inside. By doing this, we can see that the Border, even when set to HorizontalAlignment="Stretch", does not take the whole horizontal space. (see attached screenshot)
** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!
Diane Lafontaine
Technical Support
Xceed Software Inc.