AdornerLayout.Arrange Method
Performs the layout arrangement on the specified adorner.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Sub Arrange ( _
adorner As UIElement _
)
public abstract void Arrange(
UIElement adorner
)
public:
virtual void Arrange(
UIElement^ adorner
) abstract
abstract Arrange :
adorner:UIElement -> unit
public abstract function Arrange(
adorner : UIElement
)
Parameters
- adorner
Type: System.Windows.UIElement
The adorner to be arranged.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | adorner is nulla null reference (Nothing in Visual Basic). |
Remarks
The Arrange method performs the arrangement by computing the adorner's location and other applicable transforms, and then calls Arrange on the adorner with the computed rectangle.
.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
PrimarySelectionAdornerProvider