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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.