[This documentation is preliminary and is subject to change.]
Gets or sets the RectangleGeometry used to define the outline of the contents of a UIElement.
Syntax
<uiElement> <uiElement.Clip> rectangleGeometry </uiElement.Clip> </uiElement>
Property value
Type: RectangleGeometry
The rectangle geometry to be used for clipping area sizing. The default value is null.
Examples
This example is simple XAML markup that specifies a Clip using an inline RectangleGeometry that specifies its dimensions through an attribute syntax.
<Canvas> <Image Source="Images/Water_lilies.jpg" Width="200" Height="150"> <Image.Clip> <RectangleGeometry Rect="100 75 50 50"/> </Image.Clip> </Image> </Canvas>
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 5/22/2012
