Version

AddAdornment Method

Adds an adornment to the AdornmentLayer
Syntax
'Declaration
 
Public Function AddAdornment( _
   ByVal adornmentElement As UIElement, _
   ByVal adornmentLocation As Point, _
   ByVal userData As Object _
) As AdornmentInfo
public AdornmentInfo AddAdornment( 
   UIElement adornmentElement,
   Point adornmentLocation,
   object userData
)

Parameters

adornmentElement
The element that represents the adornment.
adornmentLocation
The location (in text area coordinates) within the AdornmentLayer at which to position the adornment.
userData
An arbitrary piece of data to store with the adornment.

Return Value

An Infragistics.Controls.Editors.AdornmentInfo instance representing the aodrnment.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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