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

Glossary Item Box

Defines the index of a field in a particular area.

Remarks

Property specifies the position of the field in the area where the field is located. Each field can be placed within one of four areas; Filter area, Column area, Row area or Data area. The AreaIndex property specifies the field's index among the other fields displayed within the same area, and so specifies the field's visual position.

Assigning a positive value to the AreaIndex property makes the current field visible in case it has been hidden. Similarly, if the field is visible assigning a negative value to this property will hide the field and will set its AreaIndex property to -1.

Where the field is or can be visible is defined with property AllowedAreas.

Example (MxSpace)

To see the defined AreaIndex 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 PlannedQuantity has AreaIndex property set to 0.

To define AreaIndex 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 (PlannedQuantity) in Pivot Fields section. 
  4. Set the desired value (0) for property AreaIndex.

See Also

©2009 Metronik. All Rights Reserved.