Experimental: this API is experimental and might be changed or removed in the future.

ISelectable.IsSelected

Switch to Manual
public bool IsSelected (Experimental.UIElements.VisualElement selectionContainer);

Parameters

selectionContainer跟踪所选项的容器。

Returns

bool 如果已选择,则为 true。否则为 false。

Description

查看是否已选择元素。