ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / C1.Framework Namespace / Style Class
Fields Properties Methods Events


In This Topic
    Style Class Members
    In This Topic

    The following tables list the members exposed by Style.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldThe size of shadow.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the System.Drawing.Color used to paint the background.  
    Public PropertyGets or sets the secondary color used to build the background gradient.  
    Public PropertyGets or sets the background image for the element.  
    Public PropertyGets or sets the alignment used to render the background image.  
    Public PropertyGets or sets the scaling used to render the background image.  
    Public PropertyGets or sets the thickness of the border around the element.  
    Public PropertyGets or sets the System.Drawing.Color used to draw the border around the element.  
    Public PropertyGets BorderEdges object that defines the colors used to paint each edge of the borders.  
    Public PropertyGets or sets the radii of the element corners.  
    Public PropertyGets or sets the font used to paint text within the element.  
    Public PropertyGets or sets whether text bounding rectangle should include padding.  
    Public PropertyGets or sets the System.Drawing.Color used to paint the text.  
    Public PropertyGets or sets the format string used to convert the element value into a string.  
    Public PropertyGets or sets whether to apply gamma correction to the background gradient.  
    Public PropertyGets or sets the System.Drawing.Drawing2D.Blend used to paint the background gradient.  
    Public PropertyGets or sets the System.Drawing.PointF that represents the center of a radial gradient background in percentage units.  
    Public PropertyGets or sets a System.Drawing.Drawing2D.ColorBlend that defines a multicolor gradient.  
    Public PropertyGets or sets the GradientMode used to paint the background.  
    Public PropertyGets or sets how elements should be aligned in the horizontal direction.  
    Public PropertyGets or sets how images should be aligned within the element.  
    Public PropertyGets or sets how images should be scaled within the element.  
    Public PropertyGets or sets the thickness of the margins around the element.  
    Public PropertyGets or sets the thickness of the padding between the element edges and its content.  
    Public PropertyGets or sets the direction in which text is rendered.  
    Public PropertyGets or sets how to trim characters that do not fit in the space available.  
    Public PropertyGets or sets how elements should be aligned in the vertical direction.  
    Public PropertyGets or sets whether text should be allowed to wrap within the element.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Returns new System.Drawing.SolidBrush if specified color is not System.Drawing.Color.Transparent or null otherwise.  
    Public MethodCreates an instance of the Style class that is identical to the current Style (except for the Locked property, which is always false for clones).  
    Public Methodstatic (Shared in Visual Basic)Returns System.Drawing.SolidBrush.Color if specified brush is a System.Drawing.SolidBrush or System.Drawing.Color.Transparent otherwise.  
    Public MethodCopies all attributes from another Style object.  
    Public MethodOverloaded. Deflates the specified System.Drawing.Rectangle by the values of the current Style margins, padding and border.  
    Public MethodDeflates the specified height by the values of the current Style margins, padding and border.  
    Public MethodDeflates the specified width by the values of the current Style margins, padding and border.  
    Public MethodReleases all resources.  
    Public MethodConverts value to string according to Format property value.  
    Public MethodOverloaded. Inflates the specified System.Drawing.Rectangle by the values of the current Style margins, padding and border.  
    Public MethodInflates the specified height by the values of the current Style margins, padding and border.  
    Public MethodInflates the specified width by the values of the current Style margins, padding and border.  
    Public MethodCopies attributes set to non-default values from another Style object.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises the StyleChanged event.  
    Top
    Public Events
     NameDescription
    Public EventFires when any elements of the Style change.  
    Top
    See Also