# RtfFormFieldDataControl

Raw control word carried by an RTF \ffdata destination.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfFormFieldDataControl.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFormFieldDataControl.cs#L8)

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Raw control word carried by an RTF \ffdata destination.

## Inheritance

- object
- RtfFormFieldDataControl

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [RtfFormFieldData.AddControl](/api/rtf/officeimo-rtf-rtfformfielddata/#method-addcontrol-string-nullable-system-int32-boolean)
- Property [RtfFormFieldData.Controls](/api/rtf/officeimo-rtf-rtfformfielddata/#property-controls)

Filter members 

Show inherited

## Constructors

`public RtfFormFieldDataControl(string name, int? parameter = null, bool hasParameter = false)` [#](#constructor-ctor-string-nullable-system-int32-boolean)

[RtfFormFieldDataControl.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFormFieldDataControl.cs#L8)

Creates a form-field data control.

Parameters

**name string required**

**parameter int? = null optional**

**hasParameter bool = false optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[RtfFormFieldDataControl.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFormFieldDataControl.cs#L16)

Control word name without the leading backslash.

`public int? Parameter { get; set; }` [#](#property-parameter)

[RtfFormFieldDataControl.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFormFieldDataControl.cs#L19)

Optional numeric parameter.

`public bool HasParameter { get; set; }` [#](#property-hasparameter)

[RtfFormFieldDataControl.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFormFieldDataControl.cs#L22)

Whether the control explicitly supplied a parameter.

<!-- PowerForge markdown artifact sha256:6643DCB339F8517BD332AF8AD77E5AED63AD1A097F592447D7429BAF3FD1DFAA -->
