TabPanel.GetLayoutClip Method (Size)


Used to override default clipping.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override Geometry GetLayoutClip(
	Size layoutSlotSize


Type: System.Windows.Size

The size of the panel.

Return Value

Type: System.Windows.Media.Geometry

A size that is the layout size of the TabPanel.

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.

.NET Framework
Available since 3.0
Return to top