FrameworkElement
using a given DataTemplate
.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function MakeAdornment( _ ByVal selelt As FrameworkElement, _ ByVal templ As DataTemplate _ ) As Adornment |
C# | |
---|---|
public virtual Adornment MakeAdornment( FrameworkElement selelt, DataTemplate templ ) |
Parameters
- selelt
- must not be null
- templ
- must not be null
If IsBoundToData is true, the DataTemplate has access to this part's Part.Data.