Interface ISelectableElement
Interface used on UI elements which handle a selected state.
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public interface ISelectableElement
Properties
selected
True of the UI element is in selected state, False otherwise.
Declaration
bool selected { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
SetSelectedWithoutNotify(bool)
Set the selected state of a UI element without sending an event through the visual tree.
Declaration
void SetSelectedWithoutNotify(bool newValue)
Parameters
Type | Name | Description |
---|---|---|
bool | newValue | The new selected state value. |