Version

GetPrimitiveFromRowColumn Method (IProvidePrimitives)

Retrieves an object reference to a Primitive for the requested (row, column).
Syntax
'Declaration
 
Function GetPrimitiveFromRowColumn( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal primitiveType As Type _
) As Primitive
Primitive GetPrimitiveFromRowColumn( 
   int row,
   int column,
   Type primitiveType
)

Parameters

row
The zero-based index of the data row represented by the Primitive returned.
column
The zero-based index of the data column represented by the Primitive returned.
primitiveType
A requested Type to coerce the Primitive object into before returning it.

Return Value

A Primitive object representing the given (row, column) combination, or null if no such Primitive exists, or if the Primitive exists but is not of the requested primitiveType.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown when either of the parameters are negative.
Remarks

Advanced developers may use this method from the application-level to access individual Infragistics.UltraChart.Core.Primitives.Primitive shapes that are used to render the chart graphics. Changing the size and position of Primitive objects outside of UltraChart may affect the informational content of the chart rendered. When the primitiveType is specified, any non-null Primitive returned can be safely typecast to the Type requested.

After directly manipulating the Primitive objects returned by this method, the developer must call InvalidateLayers to refresh the chart image.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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