Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLStyle Class
Properties Methods


In This Topic
    XLStyle Class Members
    In This Topic

    The following tables list the members exposed by XLStyle.

    Public Constructors
     NameDescription
    Public ConstructorCreates a new instance of XLStyle and adds it to the specified C1XLBook.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the horizontal alignment for this XLStyle.  
    Public PropertyGets or sets the vertical alignment for this XLStyle.  
    Public PropertyGets or sets the background color for this XLStyle.  
    Public PropertyGets or sets the background pattern for this XLStyle.  
    Public PropertyGets or sets the line style used to draw the bottom border.  
    Public PropertyGets or sets the color used to draw the bottom border.  
    Public PropertyGets or sets the color used to draw the left border.  
    Public PropertyGets or sets the color used to draw the right border.  
    Public PropertyGets or sets the color used to draw the top border.  
    Public PropertyGets or sets the line style used to draw the left border.  
    Public PropertyGets or sets the line style used to draw the right border.  
    Public PropertyGets or sets the line style used to draw the top border.  
    Public PropertyGets or sets which diagonal lines to display (none, forward, backward).  
    Public PropertyGets or sets the color used to draw the diagonal lines.  
    Public PropertyGets or sets the line style used to draw the diagonal lines.  
    Public PropertyGets or sets the context reading direction for this XLStyle.  
    Public PropertyGets or sets the font for this XLStyle.  
    Public PropertyGets or sets the foreground color for this XLStyle.  
    Public PropertyGets or sets the format associated with this XLStyle.  
    Public PropertyGets or sets the indent cell contents for this XLStyle.  
    Public PropertyGets whether background color of this XLStyle is automatic.  
    Public PropertyGets or sets whether the cell should be locked for editing when the XLSheet is protected.  
    Public PropertyGets or sets the color of the background pattern for this XLStyle.  
    Public PropertyGets or sets the rotation for this XLStyle, in degrees.  
    Public PropertyGets or sets whether this XLStyle causes cell contents to shrink to fit.  
    Public PropertyGets or sets whether this XLStyle causes cell contents to wrap.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a new XLStyle object that is a copy of the current instance.  
    Public Methodstatic (Shared in Visual Basic)Gets standard palette color.  
    Public MethodDetermines whether two XLStyle objects are equivalent.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a .NET-style format string into an Excel format string.  
    Public Methodstatic (Shared in Visual Basic)Converts .NET-style format string to New Japanese Era.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts an Excel-style format string into a .NET-style format string.  
    Public MethodServes as a hash function suitable for use in hashing algorithms and data structures like a hash table.  
    Public Methodstatic (Shared in Visual Basic)Search for the nearest color in the RGB space.  
    Public MethodSets the border color for this XLStyle.  
    Public MethodSets the border style for this XLStyle.  
    Top
    See Also