Skip to main content
All docs
V25.1
  • DxCarousel.Width Property

    Specifies the component width.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [Parameter]
    public string Width { get; set; }

    Property Value

    Type Description
    String

    The width in CSS units.

    Remarks

    Use Height and Width properties to specify the size of the <DxCarousel> component.

    <DxCarousel Data="@GetCarouselData()"
                Width="500px"
                Height="300px"
                ImageSizeMode="CarouselImageSizeMode.FillAndCrop">
    </DxCarousel>
    
    See Also