Version

GetCellSettingsForLabel Method

Returns the format settings applied to a Infragistics.Windows.DataPresenter.FieldItem.Label when exported to word.
Syntax
'Declaration
 
Public Shared Function GetCellSettingsForLabel( _
   ByVal d As DependencyObject _
) As WordTableCellSettings
public static WordTableCellSettings GetCellSettingsForLabel( 
   DependencyObject d
)

Parameters

d
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 throughout 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.

To return the format settings for a Infragistics.Windows.DataPresenter.FieldGroup, pass a reference to the FieldGroup instance.

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