Class BeforeClearGroupFieldEventArgs
Inheritance
System.Object
BeforeClearGroupFieldEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class BeforeClearGroupFieldEventArgs
Constructors
BeforeClearGroupFieldEventArgs(WordDocument, String, IWMergeField, Boolean, String[])
Initialize the new instance of BeforeClearFieldEventArgs class for the specified document with table name, row index, field and its value.
Declaration
public BeforeClearGroupFieldEventArgs(WordDocument doc, string groupName, IWMergeField field, bool fieldHasMappedInDataSource, string[] fieldNames)
Parameters
| Type | Name | Description |
|---|---|---|
| WordDocument | doc | IWordDcoument instance |
| System.String | groupName | The groupName of table |
| IWMergeField | field | The current Merge Field |
| System.Boolean | fieldHasMappedInDataSource | Is field mapped in Data source |
| System.String[] | fieldNames | The Current Field Vlue |
Properties
AlternateValues
Performs the mail merge operation for a specified region using the IEnumerable as data source.
Declaration
public IEnumerable AlternateValues { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.IEnumerable |
ClearGroup
Gets or sets a Boolean value whether the unmerged groups can be clear or not.
Declaration
public bool ClearGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | True, Remove the unmerged fields, otherwise False |
FieldNames
Gets the Fields Name inside the unmerged group
Declaration
public string[] FieldNames { get; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
GroupName
Gets the owner group name of the merge field - read only.
Declaration
public string GroupName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HasMappedGroupInDataSource
Gets a Boolean value whether the merge field has mapped field in data source or not.
Declaration
public bool HasMappedGroupInDataSource { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | True, if the merge field has mapped field in data source. Otherwise false. |