InkCanvasSelectionChangingEventArgs.SetSelectedElements 方法

定义

设置选定元素。

public:
 void SetSelectedElements(System::Collections::Generic::IEnumerable<System::Windows::UIElement ^> ^ selectedElements);
public void SetSelectedElements (System.Collections.Generic.IEnumerable<System.Windows.UIElement> selectedElements);
member this.SetSelectedElements : seq<System.Windows.UIElement> -> unit
Public Sub SetSelectedElements (selectedElements As IEnumerable(Of UIElement))

参数

selectedElements
IEnumerable<UIElement>

要选择的元素。

例外

selectedElementsnull

适用于