Defines the areas where field can be located in the control.
Remarks
Property specifies the area in which certain field can be located and its value used. The restriction is intended for customization in runtime. Five different options are available where certain field can be located.
Location | Description |
---|---|
RowArea | Field can only be used as a Row field. |
ColumnArea | Field can only be used as a Column field. |
FilterArea | Field can only be used as a Filter field. |
DataArea | Field can only be used as a Date field. |
All | Field can be used anywhere; in all types of fields. |
The default value for this property is All.
Example (MxSpace)
To see the defined AllowedAreas property on a pivot field open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderAnalysisPart.cs. Click the pivot control and run its designer. Field ActualQuantity has AllowedAreas property set to DataArea.
To define AllowedAreas property
- In Solution Explorer open MxPart component (WorkOrderAnalysisPart) which contains Pivot control.
- Right click the control and select option Run Designer.
- Select the desired field (ActualQuantity) in Pivot Fields section.
- Set the desired value (DataArea) for property AllowedAreas.
MxPart
AreaIndex