Interactable.TriggerOnClick Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TriggerOnClick() |
A public way to trigger or route an onClick event from an external source, like PressableButton |
TriggerOnClick(Boolean) |
A public way to trigger or route an onClick event from an external source, like PressableButton |
TriggerOnClick()
A public way to trigger or route an onClick event from an external source, like PressableButton
public:
void TriggerOnClick();
public void TriggerOnClick ();
member this.TriggerOnClick : unit -> unit
Public Sub TriggerOnClick ()
Applies to
TriggerOnClick(Boolean)
A public way to trigger or route an onClick event from an external source, like PressableButton
public void TriggerOnClick (bool force = false);
member this.TriggerOnClick : bool -> unit
Public Sub TriggerOnClick (Optional force As Boolean = false)
Parameters
- force
- Boolean
Force the click without checking CanInteract(). Does not override IsEnabled and only applies to toggle.