Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub UpdateSelectionAdornment() |
C# | |
---|---|
protected virtual void UpdateSelectionAdornment() |
This also removes any selection adornment if this part is no longer selected, not visible, or if Part.SelectionAdorned is false.
To create the selection adornment this calls MakeAdornment with the Part.SelectionElement and the SelectionAdornmentTemplate. If there is no SelectionAdornmentTemplate for this part, the template defaults to the DataTemplate
named "DefaultSelectionAdornmentTemplate".