Interface IBindInput
- Namespace
- RichHudFramework.UI
- Assembly
- RichHudClient.dll
Allows a UI element to respond to arbitrary custom control binds (IBind).
public interface IBindInput : IFocusableElement, IEnumerable<IBindEventProxy>, IEnumerable
- Inherited Members
Properties
InputFilter
If set, the input groups indicated by the flags will be temporarily blocked until the BintInputElement is disabled.
SeBlacklistModes InputFilter { get; set; }
Property Value
IsFocusRequired
If true, bind events will only fire when the parent element has input focus. Default = false.
Only applies if the parent/InputOwner implements IFocusableElement.
bool IsFocusRequired { get; set; }
Property Value
this[IBind]
Retrieves the event proxy (press/release events) for a specific bind on this UI element
IBindEventProxy this[IBind bind] { get; }
Parameters
bindIBind
Property Value
Methods
Add(IBind, EventHandler, EventHandler, EventHandler)
Adds a new bind to the input element if it hasn't been added before, and/or registers the given event handlers to it.
void Add(IBind bind, EventHandler NewPressed = null, EventHandler PressedAndHeld = null, EventHandler Released = null)
Parameters
bindIBindNewPressedEventHandlerPressedAndHeldEventHandlerReleasedEventHandler
GetHasBind(IBind)
Returns true if the given bind is actively used and handled by this element
bool GetHasBind(IBind bind)
Parameters
bindIBind