menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellStyle - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CellStyle

    Summary description for CellStyle.

    Inheritance
    System.Object
    CommonWrapper
    ExtendedFormatWrapper
    CellStyle
    Implements
    IXFIndex
    ICloneParent
    IStyle
    IExtendedFormat
    IParentApplication
    IOptimizedUpdate
    Inherited Members
    CommonWrapper.BeginCallsCount
    ExtendedFormatWrapper.Application
    ExtendedFormatWrapper.Borders
    ExtendedFormatWrapper.BuiltIn
    ExtendedFormatWrapper.ChangeFillPattern()
    ExtendedFormatWrapper.Clone(Object)
    ExtendedFormatWrapper.Color
    ExtendedFormatWrapper.ColorIndex
    ExtendedFormatWrapper.DiagonalBorderColor
    ExtendedFormatWrapper.DiagonalDownBorderLineStyle
    ExtendedFormatWrapper.DiagonalDownVisible
    ExtendedFormatWrapper.DiagonalUpBorderLineStyle
    ExtendedFormatWrapper.DiagonalUpVisible
    ExtendedFormatWrapper.FillBackground
    ExtendedFormatWrapper.FillBackgroundRGB
    ExtendedFormatWrapper.FillForeground
    ExtendedFormatWrapper.FillForegroundRGB
    ExtendedFormatWrapper.FillPattern
    ExtendedFormatWrapper.Font
    ExtendedFormatWrapper.FontIndex
    ExtendedFormatWrapper.FormulaHidden
    ExtendedFormatWrapper.HasBorder
    ExtendedFormatWrapper.HorizontalAlignment
    ExtendedFormatWrapper.IncludeAlignment
    ExtendedFormatWrapper.IncludeBorder
    ExtendedFormatWrapper.IncludeFont
    ExtendedFormatWrapper.IncludeNumberFormat
    ExtendedFormatWrapper.IncludePatterns
    ExtendedFormatWrapper.IncludeProtection
    ExtendedFormatWrapper.IndentLevel
    ExtendedFormatWrapper.Interior
    ExtendedFormatWrapper.IsFirstSymbolApostrophe
    ExtendedFormatWrapper.IsInitialized
    ExtendedFormatWrapper.IsModified
    ExtendedFormatWrapper.JustifyLast
    ExtendedFormatWrapper.Locked
    ExtendedFormatWrapper.m_book
    ExtendedFormatWrapper.m_font
    ExtendedFormatWrapper.m_xFormat
    ExtendedFormatWrapper.Name
    ExtendedFormatWrapper.NumberFormat
    ExtendedFormatWrapper.NumberFormatChanged
    ExtendedFormatWrapper.NumberFormatIndex
    ExtendedFormatWrapper.NumberFormatLocal
    ExtendedFormatWrapper.NumberFormatSettings
    ExtendedFormatWrapper.OnNumberFormatChange()
    ExtendedFormatWrapper.Parent
    ExtendedFormatWrapper.PatternColor
    ExtendedFormatWrapper.PatternColorIndex
    ExtendedFormatWrapper.ReadingOrder
    ExtendedFormatWrapper.Rotation
    ExtendedFormatWrapper.SetChanged()
    ExtendedFormatWrapper.SetFormatIndex(Int32)
    ExtendedFormatWrapper.ShrinkToFit
    ExtendedFormatWrapper.UpdateFont()
    ExtendedFormatWrapper.VerticalAlignment
    ExtendedFormatWrapper.Workbook
    ExtendedFormatWrapper.Wrapped
    ExtendedFormatWrapper.WrapText
    ExtendedFormatWrapper.XFormatIndex
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public class CellStyle : ExtendedFormatWrapper, IInternalExtendedFormat, IXFIndex, ICloneParent, IStyle, IExtendedFormat, IParentApplication, IOptimizedUpdate

    Constructors

    CellStyle(RangeImpl)

    Creates new instance of cell style.

    Declaration
    public CellStyle(RangeImpl range)
    Parameters
    Type Name Description
    RangeImpl range

    Parent range.

    CellStyle(RangeImpl, Int32)

    Creates new instance of cell style.

    Declaration
    public CellStyle(RangeImpl range, int iXFIndex)
    Parameters
    Type Name Description
    RangeImpl range

    Parent range.

    System.Int32 iXFIndex

    Index of extended format to wrap.

    Properties

    BottomBorderColor

    Get/set BottomBorder color.

    Declaration
    public override ColorObject BottomBorderColor { get; }
    Property Value
    Type
    ColorObject
    Overrides
    ExtendedFormatWrapper.BottomBorderColor

    BottomBorderLineStyle

    Gets / sets line style of the top border.

    Declaration
    public override ExcelLineStyle BottomBorderLineStyle { get; set; }
    Property Value
    Type
    ExcelLineStyle
    Overrides
    ExtendedFormatWrapper.BottomBorderLineStyle

    LeftBorderColor

    Get/set LeftBorder color.

    Declaration
    public override ColorObject LeftBorderColor { get; }
    Property Value
    Type
    ColorObject
    Overrides
    ExtendedFormatWrapper.LeftBorderColor

    LeftBorderLineStyle

    Gets / sets line style of the left border.

    Declaration
    public override ExcelLineStyle LeftBorderLineStyle { get; set; }
    Property Value
    Type
    ExcelLineStyle
    Overrides
    ExtendedFormatWrapper.LeftBorderLineStyle

    RightBorderColor

    Get/set RightBorder color.

    Declaration
    public override ColorObject RightBorderColor { get; }
    Property Value
    Type
    ColorObject
    Overrides
    ExtendedFormatWrapper.RightBorderColor

    RightBorderLineStyle

    Gets / sets line style of the right border.

    Declaration
    public override ExcelLineStyle RightBorderLineStyle { get; set; }
    Property Value
    Type
    ExcelLineStyle
    Overrides
    ExtendedFormatWrapper.RightBorderLineStyle

    TopBorderColor

    Get/set TopBorder color.

    Declaration
    public override ColorObject TopBorderColor { get; }
    Property Value
    Type
    ColorObject
    Overrides
    ExtendedFormatWrapper.TopBorderColor

    TopBorderLineStyle

    Gets / sets line style of the top border.

    Declaration
    public override ExcelLineStyle TopBorderLineStyle { get; set; }
    Property Value
    Type
    ExcelLineStyle
    Overrides
    ExtendedFormatWrapper.TopBorderLineStyle

    Methods

    BeforeRead()

    This method is called before reading any value. Can be used to update wrapped object before read operation.

    Declaration
    protected override void BeforeRead()
    Overrides
    ExtendedFormatWrapper.BeforeRead()

    BeginUpdate()

    This method is called before changes in extended format.

    Declaration
    public override void BeginUpdate()
    Overrides
    ExtendedFormatWrapper.BeginUpdate()

    EndUpdate()

    This method is called after changes in extended format.

    Declaration
    public override void EndUpdate()
    Overrides
    ExtendedFormatWrapper.EndUpdate()

    GetBottomBorderColor(Boolean)

    Get line color of the bottom border.

    Declaration
    protected ColorObject GetBottomBorderColor(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ColorObject

    GetBottomLineStyle(Boolean)

    Get line style of the bottom border.

    Declaration
    protected ExcelLineStyle GetBottomLineStyle(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ExcelLineStyle

    GetLeftBorderColor(Boolean)

    Gets line color of the left border.

    Declaration
    protected ColorObject GetLeftBorderColor(bool askAdjacent)
    Parameters
    Type Name Description
    System.Boolean askAdjacent
    Returns
    Type
    ColorObject

    GetLeftLineStyle(Boolean)

    Gets line style of the left border.

    Declaration
    protected ExcelLineStyle GetLeftLineStyle(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ExcelLineStyle

    GetRightBorderColor(Boolean)

    Gets line color of the right border.

    Declaration
    protected ColorObject GetRightBorderColor(bool askAdjacent)
    Parameters
    Type Name Description
    System.Boolean askAdjacent
    Returns
    Type
    ColorObject

    GetRightLineStyle(Boolean)

    Gets line style of the right border.

    Declaration
    protected ExcelLineStyle GetRightLineStyle(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ExcelLineStyle

    GetTopBorderColor(Boolean)

    Gets line color of the top border.

    Declaration
    protected ColorObject GetTopBorderColor(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ColorObject

    GetTopLineStyle(Boolean)

    Gets line style of the top border.

    Declaration
    protected ExcelLineStyle GetTopLineStyle(bool askAdjecent)
    Parameters
    Type Name Description
    System.Boolean askAdjecent
    Returns
    Type
    ExcelLineStyle

    SetParents(Object)

    Searches for all necessary parent objects.

    Declaration
    protected override void SetParents(object parent)
    Parameters
    Type Name Description
    System.Object parent

    Parent object.

    Overrides
    ExtendedFormatWrapper.SetParents(Object)

    Implements

    IXFIndex
    ICloneParent
    IStyle
    IExtendedFormat
    IParentApplication
    IOptimizedUpdate

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved