共用方式為


InkCanvasSelectionChangingEventArgs.GetSelectedElements 方法

定義

傳回所選取的項目。

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::UIElement ^> ^ GetSelectedElements();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.UIElement> GetSelectedElements ();
member this.GetSelectedElements : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.UIElement>
Public Function GetSelectedElements () As ReadOnlyCollection(Of UIElement)

傳回

ReadOnlyCollection<UIElement>

所選取的項目。

適用於