TabPanel.GetLayoutClip(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.