Back to Devexpress

DXViewBase.IsClippedToBounds Property

maui-devexpress-dot-maui-dot-core-dot-dxviewbase-76ccff00.md

latest1.8 KB
Original Source

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

csharp
public bool IsClippedToBounds { get; set; }

Property Value

TypeDescription
Boolean

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

|

Remarks

The following examples shows DXStackLayout controls with different IsClippedToBounds values:

xaml
<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

DXViewBase Class

DXViewBase Members

DevExpress.Maui.Core Namespace