The dependencyObject target
if set to true clip to bounds.
SetClipToBounds Method
Sets the ClipToBounds DependencyProperty value. If true, the target object clips any child elements to the bounds when rendering.
Syntax
public static void SetClipToBounds( 
   DependencyObject depObj,
   bool clipToBounds
)

Parameters

depObj
The dependencyObject target
clipToBounds
if set to true clip to bounds.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also