Version

SetCellSettingsForLabel Method

Sets the format settings applied to a Infragistics.Windows.DataPresenter.FieldItem.Label when exported to word.
Syntax
'Declaration
 
Public Shared Sub SetCellSettingsForLabel( _
   ByVal d As DependencyObject, _
   ByVal value As WordTableCellSettings _
) 
public static void SetCellSettingsForLabel( 
   DependencyObject d,
   WordTableCellSettings value
)

Parameters

d
The DependencyObject with which the specified value is to be associated. This parameter can be set to a Infragistics.Windows.DataPresenter.FieldGroup instance, or a Infragistics.Windows.DataPresenter.FieldSettings instance to apply formatting for multiple fields.
value
A reference to the WordTableCellSettings instance which defines the format settings.
Remarks

All the word cells within a header record and all the labels within a record when the Infragistics.Windows.DataPresenter.FieldLayout.LabelLocationResolved is InCells will use these settings. To affect all labels through out the control you can set this property on the Infragistics.Windows.DataPresenter.FieldSettings. To affect all the labels for a given Infragistics.Windows.DataPresenter.FieldLayout, you can set this property on the Infragistics.Windows.DataPresenter.FieldLayout.FieldSettings. To affect labels for a specific Infragistics.Windows.DataPresenter.Field, you can set this property on the Infragistics.Windows.DataPresenter.Field.Settings of that Field.

Note: The settings for these properties will be merged together giving precedence to the Field's settings (or the FieldGroup if one is specified), then the FieldLayout's FieldSettings and lastly by the DataPresenter's FieldSettings.

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