Partager via


IntraTextAdornment.SetIsSelected(UIElement, Boolean) Method

Definition

Sets the IsSelected value on the specified UIElement.

public:
 static void SetIsSelected(System::Windows::UIElement ^ element, bool isSelected);
public static void SetIsSelected (System.Windows.UIElement element, bool isSelected);
static member SetIsSelected : System.Windows.UIElement * bool -> unit
Public Shared Sub SetIsSelected (element As UIElement, isSelected As Boolean)

Parameters

element
UIElement

The element.

isSelected
Boolean

The IsSelected value.

Applies to