This problem only occurs when using the latest (version 2.5) binaries for .Net 3.5. If I switch to the .Net 4.x binaries, the properties are expanded as expected.
Presumably this is a bug in the .Net 3.5 binaries? Is there any way to work around the issue?
Thanks,
--- John.
Comments: ** Comment from web user: catweazle **
Looking at the source, I just noticed a difference in the PropertyItemGroupContainerStyle, as defined in Generic.xaml and Aero2.NormalColor.xaml:
The .NET 4.x version has:
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Border>
<Expander Header="{Binding Name}"
Style="{StaticResource ExpanderStyle}">
<Expander.IsExpanded>
<sys:Boolean>True</sys:Boolean>
</Expander.IsExpanded>
<ItemsPresenter />
</Expander>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
.. whereas the .NET 3.5 version is missing the part that sets "IsExpanded" to True:
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Border>
<Expander Header="{Binding Name}"
Style="{StaticResource ExpanderStyle}">
<ItemsPresenter />
</Expander>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
Could this be the source of the bug?
--- John.