Spread WPF Documentation
DataBarDrawingObject Constructor


GrapeCity.Windows.SpreadSheet.Data Namespace > DataBarDrawingObject Class : DataBarDrawingObject Constructor
The row index.
The column index.
The fill color of the data bar object.
The border color of the data bar object.
Whether to show the border of the data bar object.
The axis color of the data bar object.
The fill type of the data bar object.
The direction the data bar object
The axis location the data bar object
The scale of the data bar object.
trueShow bar only; otherwise, false.
Constructs a data bar object with the specified row index, column index, color, scale, and data bar or data bar and data.
Syntax
'Declaration
 
Public Function New( _
   ByVal rowIndex As System.Integer, _
   ByVal columnIndex As System.Integer, _
   ByVal fillColor As System.Windows.Media.Color, _
   ByVal borderColor As System.Windows.Media.Color, _
   ByVal showBorder As System.Boolean, _
   ByVal axisColor As System.Windows.Media.Color, _
   ByVal isGradient As System.Boolean, _
   ByVal direction As BarDirection, _
   ByVal axisLocation As System.Double, _
   ByVal scale As System.Double, _
   ByVal showBarOnly As System.Boolean _
)
'Usage
 
Dim rowIndex As System.Integer
Dim columnIndex As System.Integer
Dim fillColor As System.Windows.Media.Color
Dim borderColor As System.Windows.Media.Color
Dim showBorder As System.Boolean
Dim axisColor As System.Windows.Media.Color
Dim isGradient As System.Boolean
Dim direction As BarDirection
Dim axisLocation As System.Double
Dim scale As System.Double
Dim showBarOnly As System.Boolean
 
Dim instance As New DataBarDrawingObject(rowIndex, columnIndex, fillColor, borderColor, showBorder, axisColor, isGradient, direction, axisLocation, scale, showBarOnly)
public DataBarDrawingObject( 
   System.int rowIndex,
   System.int columnIndex,
   System.Windows.Media.Color fillColor,
   System.Windows.Media.Color borderColor,
   System.bool showBorder,
   System.Windows.Media.Color axisColor,
   System.bool isGradient,
   BarDirection direction,
   System.double axisLocation,
   System.double scale,
   System.bool showBarOnly
)

Parameters

rowIndex
The row index.
columnIndex
The column index.
fillColor
The fill color of the data bar object.
borderColor
The border color of the data bar object.
showBorder
Whether to show the border of the data bar object.
axisColor
The axis color of the data bar object.
isGradient
The fill type of the data bar object.
direction
The direction the data bar object
axisLocation
The axis location the data bar object
scale
The scale of the data bar object.
showBarOnly
trueShow bar only; otherwise, false.
See Also

Reference

DataBarDrawingObject Class
DataBarDrawingObject Members