The DescriptionViewer part of the DataField is used to display the Description property of the System.ComponentModel.DisplayAttribute as a ToolTip in the generated form. I don t want to use this capability and although I can make sure the UI element is not visible by using a style to set either the DescriptionViewerVisibility to Collapsed or by setting the DescriptionViewerStyle to be null as shown below, there is still space reserved in the DataField layout for this element.
<Style x:Key="DataFieldStyle1" TargetType="dataFormToolkit:DataField">
<Setter Property="DescriptionViewerVisibility" Value="Collapsed"/>
<Setter Property="DescriptionViewerStyle" Value="{x:Null}" />
</Style>
This space is as waste in my scenario and I want to get rid of it. I would expect this layout to be exposed by the DataField.Template property but when I use Blend to edit a copy of the default template the layout is not there.
I m using the System.Windows.Controls.Data.DataForm.Toolkit, Version=2.0.5.0 from the October 2009 release of the Silverlight Toolkit within a WCF RIA Services Beta Business Application Silverlight 3 project. I m using Visual Studio 2008 SP1. I know there is a November 2009 release but I can t see any mention of this changing in the release notes.