Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1Style Class
Properties Methods

In This Topic
    C1Style Class Members
    In This Topic

    The following tables list the members exposed by C1Style.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyThe align-items property specifies the default alignment for items inside the flexible container.  
    Public PropertyGets or sets whether when setting a property the value will replace the previous value or not.  
    Public PropertyThe background-color property sets the background color of an element.  
    Public PropertyThe border-bottom-style property sets the style of an element's four borders.  
    Public PropertyThe border-bottom-width property sets the width of an element's four borders.  
    Public PropertyThe border-color property sets the color of an element's four borders.  
    Public PropertyThe border-left-style property sets the style of an element's four borders.  
    Public PropertyThe border-left-width property sets the width of an element's four borders.  
    Public PropertyThe border-radius property defines the radius of the element's corners.  
    Public PropertyThe border-right-style property sets the style of an element's four borders.  
    Public PropertyThe border-right-width property sets the width of an element's four borders.  
    Public PropertyThe border-style property sets the style of an element's four borders.  
    Public PropertyThe border-top-style property sets the style of an element's four borders.  
    Public PropertyThe border-top-width property sets the width of an element's four borders.  
    Public PropertyThe border-width property sets the width of an element's four borders.  
    Public PropertyThe bottom property affects the vertical position of a positioned element. This property has no effect on non-positioned elements.  
    Public PropertyThe color property specifies the color of text.  
    Public PropertyThe display property specifies the display behavior (the type of rendering box) of an element.  
    Public Propertyset element's font-size.  
    Public Propertyset element's font-weight.  
    Public PropertyThe grid-area property specifies a grid item's size and location in a grid layout.  
    Public PropertyThe grid-column property specifies a grid item's size and location in a grid layout.  
    Public PropertyThe grid-row property specifies a grid item's size and location in a grid layout.  
    Public PropertyThe grid-template-columns property specifies the number (and the widths) of columns in a grid layout.  
    Public PropertyThe grid-template-rows property specifies the number (and the heights) of the rows in a grid layout.  
    Public PropertyThe height property sets the height of an element.  
    Public PropertyGets whether any attribute was set.  
    Public PropertyGets the string corresponding to the specified attribute.  
    Public PropertyThe justify-content property aligns the flexible container's items when the items do not use all available space on the main-axis (horizontally).  
    Public PropertyThe left property affects the horizontal position of a positioned element. This property has no effect on non-positioned elements.  
    Public Propertyproperty specifies the height of a line.  
    Public PropertyThe margin property sets the margins for an element.  
    Public PropertyThe max-height property defines the maximum height of an element.  
    Public PropertyThe max-width property defines the maximum width of an element.  
    Public PropertyThe min-height property defines the minimum height of an element.  
    Public PropertyThe min-width property defines the minimum width of an element.  
    Public PropertyAn element's padding is the space between its content and its border.  
    Public PropertyThe position property specifies the type of positioning method used for an element (static, relative, absolute, fixed, or sticky).  
    Public PropertyThe right property affects the horizontal position of a positioned element. This property has no effect on non-positioned elements.  
    Public PropertyThe stroke property defines the color of a line, text or outline of an element.  
    Public PropertyThe stroke-width property defines the thickness of a line, text or outline of an element.  
    Public PropertyThe text-align property specifies the horizontal alignment of text in an element.  
    Public PropertyThe top property affects the vertical position of a positioned element. This property has no effect on non-positioned elements.  
    Public Propertyproperty sets the vertical alignment of an element.  
    Public PropertyThe white-space property specifies how white-space inside an element is handled.  
    Public PropertyThe width property sets the width of an element.  
    Public PropertyThe z-index property specifies the stack order of an element.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a new object that is a copy of the current instance.  
    Public Method  
    Public MethodServes as the default hash function.  
    Public Methodstatic (Shared in Visual Basic)Parses a string into a C1Style.  
    Public MethodReturns a string that represents the current object.  
    Top
    Public Operators
    Casting operator to convert a string into a C1Style.
    Top
    See Also