Ribbon for WPF | ComponentOne
C1.WPF.Ribbon Namespace / ToolStripPanel Class / GetLayoutClip Method
The available size provided by the element.

In This Topic
    GetLayoutClip Method
    In This Topic
    Returns an alternative clipping geometry that represents the region that would be clipped if System.Windows.UIElement.ClipToBounds were set to true.
    Syntax
    'Declaration
     
    
    Protected Overrides Function GetLayoutClip( _
       ByVal layoutSlotSize As Size _
    ) As Geometry
    protected override Geometry GetLayoutClip( 
       Size layoutSlotSize
    )

    Parameters

    layoutSlotSize
    The available size provided by the element.

    Return Value

    The potential clipping geometry.
    See Also