Posted 16 years ago
		by David Sherwood
	
		Version: 9.2.0515
				Platform: .NET 3.5
				Environment: Windows 7 (64-bit)
		Getting the following error:
This happens when I add the following to my property grid:
As you can see, I'm trying to add text wrapping to my sting property value. Is not this the way to do it?
System.Windows.Markup.XamlParseException was unhandled
  Message="'TreeListViewRowPresenter' object cannot be added to 'Border'. Exception has been thrown by the target of an invocation.  Error at object 'ActiproSoftware.Windows.Controls.PropertyGrid.Primitives.TreeListViewRowPresenter' in markup file 'ActiproSoftware.PropertyGrid.Wpf30;v9.2.515.0;component/Themes/PropertyGrid/Common.xaml'."
                                           <propgrid:PropertyGrid.ValueCellContainerStyle>
                                                <Style TargetType="TextBox" >
                                                    <Setter Property="TextWrapping" Value="Wrap" />
                                                    <Setter Property="MaxWidth" Value="400" />
                                                </Style>
                                            </propgrid:PropertyGrid.ValueCellContainerStyle>