Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / GridCellFactoryBase Class / ApplySelectionColors Method
The cell.
The background.
The foreground.
if set to true [is editing].


In This Topic
    ApplySelectionColors Method
    In This Topic
    Applies the selection colors to a specific cell.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub ApplySelectionColors( _
       ByVal cell As GridCellView, _
       ByVal background As Xamarin.Forms.Color, _
       ByVal foreground As Xamarin.Forms.Color, _
       ByVal isEditing As Boolean _
    ) 
    'Usage
     
    
    Dim instance As GridCellFactoryBase
    Dim cell As GridCellView
    Dim background As Xamarin.Forms.Color
    Dim foreground As Xamarin.Forms.Color
    Dim isEditing As Boolean
     
    instance.ApplySelectionColors(cell, background, foreground, isEditing)
    protected virtual void ApplySelectionColors( 
       GridCellView cell,
       Xamarin.Forms.Color background,
       Xamarin.Forms.Color foreground,
       bool isEditing
    )

    Parameters

    cell
    The cell.
    background
    The background.
    foreground
    The foreground.
    isEditing
    if set to true [is editing].
    See Also