編輯

共用方式為


DataGridColumnHeadersPresenter.GetLayoutClip(Size) Method

Definition

Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.

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 rendered size of the column header.

Returns

The clipping geometry.

Remarks

This method override always returns a clipping geometry that is the same size as the column header, regardless of the ClipToBounds property value.

Applies to

See also