Bewerken

Delen via


TabPanel.GetLayoutClip(Size) Method

Definition

Used to override default clipping.

protected:
 override System::Windows::Media::Geometry ^ GetLayoutClip(System::Windows::Size layoutSlotSize);
protected override System.Windows.Media.Geometry GetLayoutClip (System.Windows.Size layoutSlotSize);
override this.GetLayoutClip : System.Windows.Size -> System.Windows.Media.Geometry
Protected Overrides Function GetLayoutClip (layoutSlotSize As Size) As Geometry

Parameters

layoutSlotSize
Size

The size of the panel.

Returns

A size that is the layout size of the TabPanel.

Remarks

This method is used to override the default clip behavior of the UIElement base class. The purpose of the method is to prevent clipping children because the selected TabItem header renders outside the bounds of a TabPanel.

Applies to