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

In This Topic
    MinWidth Property (C1Style)
    In This Topic
    The min-width property defines the minimum width of an element.
    Syntax
    'Declaration
     
    
    Public Property MinWidth As Nullable(Of C1StyleLength)
    public Nullable<C1StyleLength> MinWidth {get; set;}
    Remarks
    If the content is smaller than the minimum width, the minimum width will be applied. If the content is larger than the minimum width, the min-width property has no effect. This prevents the value of the Width property from becoming smaller than MinWidth.
    See Also