Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1Style Class / Height Property

In This Topic
    Height Property (C1Style)
    In This Topic
    The height property sets the height of an element.
    Syntax
    'Declaration
     
    
    Public Property Height As Nullable(Of C1StyleLength)
    public Nullable<C1StyleLength> Height {get; set;}
    Remarks
    The height of an element does not include padding, borders, or margins. If height: auto; the element will automatically adjust its height to allow its content to be displayed correctly. If height is set to a numeric value (like pixels, (r)em, percentages) then if the content does not fit within the specified height, it will overflow. How the container will handle the overflowing content is defined by the overflow property. The MinHeight and MaxHeight properties override the Height property.
    See Also