Version

SetIgnoreField Method

Sets the IgnoreField property. This dependency property indicates whether the associated field should be collapsed/excluded from an export to Word using the DataPresenterWordWriter.
Syntax
'Declaration
 
Public Shared Sub SetIgnoreField( _
   ByVal d As DependencyObject, _
   ByVal value As Nullable(Of Boolean) _
) 
public static void SetIgnoreField( 
   DependencyObject d,
   Nullable<bool> value
)

Parameters

d
The DependencyObject on which to set the property. Currently supports FieldSettings and FieldGroup.
value
Remarks

By default all fields that are displayed within the Infragistics.Windows.DataPresenter.DataPresenterBase being exported are included in the output. Setting this property to false for a given Infragistics.Windows.DataPresenter.Field will cause the export to set the Field.Visibility to collapsed when the field is exported. In addition, any summaries, sorted fields and filter references are removed from the containing Infragistics.Windows.DataPresenter.FieldLayout.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also