FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexSheet Class / SetCellFormat Method

In This Topic
    SetCellFormat Method
    In This Topic
    Set format for cell. eg:SetCellFormat(flex.Selection.Cells, C1.WPF.FlexSheet.CellFormat.Background, new SolidColorBrush(Colors.Red));
    Syntax
    'Declaration
     
    
    Public Sub SetCellFormat( _
       ByVal cells As IEnumerable(Of CellRange), _
       ByVal format As CellFormat, _
       ByVal value As Object _
    ) 
    public void SetCellFormat( 
       IEnumerable<CellRange> cells,
       CellFormat format,
       object value
    )

    Parameters

    cells
    format
    value
    See Also