# FieldValueState Enum

Namespace: [PIX.QMSAPI.DataObjects.Enums](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Enums.htm)  
Assembly: PIX.dll

Represents the various field value states available.

## Syntax

```
[Flags]
public enum FieldValueState
```

### Fields

| Name | Description |
| --- | --- |
| All | All values, regardless of their state |
| Alternative | White values (Not selected, but possible to select within the current total selections) |
| Deselected | Items that was not selectable (for AddSelections) |
| Excluded | Grey values (Not selected, and not possible to select within the current selections) |
| InternalSelectedExcluded | Grey values (selected excluded) |
| InternalUnknown |  |
| Locked | Locked |
| Optional | White values (Not selected, but possible to select within the current total selections) |
| Selected | Green values (Selected) |

### Extension Methods

[ApiFilter.FilterFor<FieldValueState>(Nullable<ApiVersion>)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.ApiFiltering.ApiFilter.FilterFor.htm#PIX_ApiFiltering_ApiFilter_FilterFor__1___0_System_Nullable_PIX_ApiVersion__)

[Conversion.Convert()](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Support.Conversion.Convert.htm#PIX_QMSAPI_Support_Conversion_Convert_PIX_QMSAPI_DataObjects_Enums_FieldValueState_)

[Conversion.ToPIXFieldValueState()](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Support.Conversion.ToPIXFieldValueState.htm#PIX_QMSAPI_Support_Conversion_ToPIXFieldValueState_PIX_QMSAPI_DataObjects_Enums_FieldValueState_)