Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl.Rdl2008 Namespace / Style Class
Properties Methods


In This Topic
    Style Class Members
    In This Topic

    The following tables list the members exposed by Style.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Style class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the background color.

    Default: Transparent.

     
    Public PropertyGets or sets the end color for the background gradient.  
    Public PropertyGets or sets the background gradient type.

    Default: Default.

     
    Public PropertyGets or sets the hatch type. If this property is set to a value other than None, the BackgroundGradientType property is ignored.  
    Public PropertyGets the background image.  
    Public PropertyGets the Border object specifying default border properties.  
    Public PropertyGets the Border object specifying bottom border properties.  
    Public PropertyGets or sets the calendar used for formatting dates. Must be compatible with the .NET Framework Language setting.  
    Public PropertyGets or sets the foreground color.

    Default: Black.

     
    Public PropertyGets or sets a value indicating whether text is written left-to-right or right-to-left. Does not affect the text alignment unless General alignment is used.  
    Public PropertyGets or sets the font family.  
    Public PropertyGets or sets the font size.  
    Public PropertyGets or sets the font style.  
    Public PropertyGets or sets the thickness of the font.  
    Public PropertyGets or sets the format string used to format value of objects like TextBox etc. Format represents a .NET Framework formatting string.  
    Public PropertyGets or sets the primary language of the text.

    Default is null in which case the Language property of the C1RdlReport will be used.

     
    Public PropertyGets the Border object specifying left border properties.  
    Public PropertyGets or sets the height of a line of text.

    Default: null, renderer determines line height based on font size.

    Min: 1 pt. Max: 1000 pt.  
    Public PropertyGets or sets the digit format to use as described by its primary language. Any language is valid.

    Default is null in which case the Language property will be used.

     
    Public PropertyGets or sets the variant of the digit format to use. The valid values are from 1 (default) to 7. See remarks for details.  
    Public PropertyGets the owner of the current style.  
    Public PropertyGets or sets the padding between the bottom edge of the object and its contents.

    Default: 0 pt. Max: 1000 pt.

     
    Public PropertyGets or sets the padding between the left edge of the object and its contents.

    Default: 0 pt. Max: 1000 pt.

     
    Public PropertyGets or sets the padding between the right edge of the object and its contents.

    Default: 0 pt. Max: 1000 pt.

     
    Public PropertyGets or sets the padding between the top edge of the object and its contents.

    Default: 0 pt. Max: 1000 pt.

     
    Public PropertyGets the Border object specifying right border properties.  
    Public PropertyGets or sets the color of the shadow for the item.

    Default: #0000007F.

     
    Public PropertyGets or sets the size of the shadow for the item.

    Default: 0.

     
    Public PropertyGets or sets the horizontal text alignment.  
    Public PropertyGets or sets the special text formatting.  
    Public PropertyGets or sets the effect to apply to the text.  
    Public PropertyGets the Border object specifying top border properties.  
    Public PropertyGets or sets the vertical text alignment.  
    Public PropertyGets or sets a value indicating whether text is written horizontally or vertically.  
    Top
    Public Methods
     NameDescription
    Public MethodCopies properties from another Style to the current object.  
    Public MethodClears the current object, sets all properties to their default values.  
    Top
    See Also