Northwoods.GoSilverlight 1.2.2 Assembly
UpdateAdornments Method
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace > ResizingTool Class : UpdateAdornments Method

part
Show an Northwoods.GoXam.Adornment with resize handles at points along the edge of bounds of the AdornedElement, if the node is selected and visible and if Northwoods.GoXam.Part.CanResize is true.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub UpdateAdornments( _
   ByVal part As Part _
) 
C# 
public override void UpdateAdornments( 
   Part part
)

Parameters

part

Remarks

First this finds the element in the visual tree of the part that should get the resize adornment and that the user will be able to resize interactively. It finds the element that has the Northwoods.GoXam.Part.ResizeElementName property of the part. If the Northwoods.GoXam.Part.ResizeElementName property is null, as it is by default, it uses the part's Northwoods.GoXam.Part.SelectionElement.

It then constructs the adornment template, associating it with the chosen resize element.

You can change the template used to create the adornment by setting Northwoods.GoXam.Part.ResizeAdornmentTemplate. If that property is null, this uses a default template with eight resize handles at the four corners and at the middles of the four sides.

This only gives a resize adornment to Northwoods.GoXam.Nodes, not to Northwoods.GoXam.Links.

Requirements

See Also

© 2010 All Rights Reserved.