Version

InitializeOlapAxisElementDescriptor Event

Occurs when a PropertyDescriptor is processed to create a HierarchyDescriptor or MeasureDescriptor during the automatic cube generation process.
Syntax
'Declaration
 
Public Event InitializeOlapAxisElementDescriptor As InitializeOlapAxisElementDescriptorHandler
public event InitializeOlapAxisElementDescriptorHandler InitializeOlapAxisElementDescriptor
Event Data

The event handler receives an argument of type InitializeOlapAxisElementDescriptorEventArgs containing data related to this event. The following InitializeOlapAxisElementDescriptorEventArgs properties provide information specific to this event.

PropertyDescription
OlapElementDescriptor (Inherited from Infragistics.Olap.FlatData.OlapAxisElementDescriptorEventArgs)Returns or sets a reference to the OLAP element to be associated with this instance's PropertyDescriptor.
PropertyDescriptor (Inherited from Infragistics.Olap.FlatData.OlapAxisElementDescriptorEventArgs)Returns a reference to the PropertyDescriptor for which this OLAP element was generated.
Visible (Inherited from Infragistics.Olap.FlatData.OlapAxisElementDescriptorEventArgs)Returns or sets a boolean value indicating whether the associated class member is visible to the data source.
Remarks

This event occurs only when the data cube is generated via the GenerateCube method.

Each property of the class referenced by the ItemType property can be designated as either a hierarchy or a measure, but not both.

By default, properties of numeric types are assumed to represent Measures. This event can be used to override this behavior; note, however, that non-numeric measures must be aggregated 'manually', by handling the AggregateMeasure event.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also