Skip to main content
All docs
V26.1
  • ON

    DXViewBase.IsClippedToBounds Property

    Gets or sets whether the DXViewBase should clip child controls to its bounds. This is a bindable property.

    Namespace: DevExpress.Maui.Core

    Assembly: DevExpress.Maui.Core.dll

    NuGet Package: DevExpress.Maui.Core

    Declaration

    public bool IsClippedToBounds { get; set; }

    Property Value

    Type Description
    Boolean

    true if the DXViewBase‘s children are clipped; otherwise, false.

    Remarks

    The following examples shows DXStackLayout controls with different IsClippedToBounds values:

    DevExpress Layouts for .NET MAUI - IsClippedToBounds in action

    <dx:DXStackLayout Orientation="Vertical">
        <dx:DXStackLayout IsClippedToBounds="True" 
                          BorderColor="DarkGray" BorderThickness="2" Margin="6">
            <dx:DXButton WidthRequest="410" HeightRequest="100" Content="Click" FontSize="36" Margin="10"/>
        </dx:DXStackLayout>
        <dx:DXStackLayout IsClippedToBounds="False" 
                          BorderColor="DarkGray" BorderThickness="2" Margin="6">
            <dx:DXButton WidthRequest="410" HeightRequest="100" Content="Click" FontSize="36" Margin="10"/>
        </dx:DXStackLayout>
    </dx:DXStackLayout>
    
    See Also