SpreadSkin Constructor(String,IInterfaceRenderer,IScrollBarRenderer,IFocusIndicatorRenderer,ISelectionRenderer,NamedStyle,NamedStyle,NamedStyle,NamedStyle,NamedStyle,NamedStyle,NamedStyle,NamedStyle)
In This Topic
Creates a new Spread skin from the specified values.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As IInterfaceRenderer, _
ByVal As IScrollBarRenderer, _
ByVal As IFocusIndicatorRenderer, _
ByVal As ISelectionRenderer, _
ByVal As NamedStyle, _
ByVal columnHeaderDefaultStyle As NamedStyle, _
ByVal columnFooterDefaultStyle As NamedStyle, _
ByVal As NamedStyle, _
ByVal As NamedStyle, _
ByVal As NamedStyle, _
ByVal As NamedStyle, _
ByVal As NamedStyle _
)
'Usage
Dim name As String
Dim interfaceRenderer As IInterfaceRenderer
Dim scrollBarRenderer As IScrollBarRenderer
Dim focusIndicatorRenderer As IFocusIndicatorRenderer
Dim selectionRenderer As ISelectionRenderer
Dim defaultStyle As NamedStyle
Dim columnHeaderDefaultStyle As NamedStyle
Dim columnFooterDefaultStyle As NamedStyle
Dim rowHeaderDefaultStyle As NamedStyle
Dim cornerDefaultStyle As NamedStyle
Dim cornerFooterDefaultStyle As NamedStyle
Dim filterBarDefaultStyle As NamedStyle
Dim filterBarHeaderDefaultStyle As NamedStyle
Dim instance As New SpreadSkin(name, interfaceRenderer, scrollBarRenderer, focusIndicatorRenderer, selectionRenderer, defaultStyle, columnHeaderDefaultStyle, columnFooterDefaultStyle, rowHeaderDefaultStyle, cornerDefaultStyle, cornerFooterDefaultStyle, filterBarDefaultStyle, filterBarHeaderDefaultStyle)
public SpreadSkin(
string ,
IInterfaceRenderer ,
IScrollBarRenderer ,
IFocusIndicatorRenderer ,
ISelectionRenderer ,
NamedStyle ,
NamedStyle columnHeaderDefaultStyle,
NamedStyle columnFooterDefaultStyle,
NamedStyle ,
NamedStyle ,
NamedStyle ,
NamedStyle ,
NamedStyle
)
Parameters
- name
- Name of the skin
- interfaceRenderer
- Interface renderer
- scrollBarRenderer
- Scroll bar renderer
- focusIndicatorRenderer
- Focus indicator renderer
- selectionRenderer
- Selection renderer
- defaultStyle
- Default style
- columnHeaderDefaultStyle
- Column header default style
- columnFooterDefaultStyle
- Column footer default style
- rowHeaderDefaultStyle
- Row header default style
- cornerDefaultStyle
- Corner header default style
- cornerFooterDefaultStyle
- Corner footer default style
- filterBarDefaultStyle
- Filter bar default style
- filterBarHeaderDefaultStyle
See Also