PlacementAdapter.GetPlacementBoundary Method (ModelItem)
Gets the boundary of the specified item parent.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function GetPlacementBoundary ( _
item As ModelItem _
) As Rect
public abstract Rect GetPlacementBoundary(
ModelItem item
)
public:
virtual Rect GetPlacementBoundary(
ModelItem^ item
) abstract
abstract GetPlacementBoundary :
item:ModelItem -> Rect
public abstract function GetPlacementBoundary(
item : ModelItem
) : Rect
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The parent ModelItem to find the boundary for.
Return Value
Type: System.Windows.Rect
A Rect representing the boundary of the item.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace