Spread Silverlight Documentation
Create Method (DataBarRule)


GrapeCity.Windows.SpreadSheet.Data Namespace > DataBarRule Class : Create Method
The minimum type.
The minimum value.
The maximum type.
The maximum value.
The color.
Creates a new object of the data bar set rule.
Syntax
'Declaration
 
Public Shared Function Create( _
   ByVal minType As ScaleValueType, _
   ByVal minValue As System.Object, _
   ByVal maxType As ScaleValueType, _
   ByVal maxValue As System.Object, _
   ByVal Color As System.Windows.Media.Color _
) As DataBarRule
'Usage
 
Dim minType As ScaleValueType
Dim minValue As System.Object
Dim maxType As ScaleValueType
Dim maxValue As System.Object
Dim Color As System.Windows.Media.Color
Dim value As DataBarRule
 
value = DataBarRule.Create(minType, minValue, maxType, maxValue, Color)
public static DataBarRule Create( 
   ScaleValueType minType,
   System.object minValue,
   ScaleValueType maxType,
   System.object maxValue,
   System.Windows.Media.Color Color
)

Parameters

minType
The minimum type.
minValue
The minimum value.
maxType
The maximum type.
maxValue
The maximum value.
Color
The color.

Return Value

A new data bar set rule.
See Also

Reference

DataBarRule Class
DataBarRule Members