MX-Frame Library Send comments on this topic.
AllowedAreas
See Also
MX-Developer > User Interface - MxPart > Controls > Pivot > Pivot Field Properties > AllowedAreas

Glossary Item Box

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

  1. In Solution Explorer open MxPart component (WorkOrderAnalysisPart) which contains Pivot control.
  2. Right click the control and select option Run Designer.
  3. Select the desired field (ActualQuantity) in Pivot Fields section. 
  4. Set the desired value (DataArea) for property AllowedAreas.

See Also

MxPart
AreaIndex

©2009 Metronik. All Rights Reserved.