Skip to content

Hex1b.Events ​

Assembly: Hex1b.dll

Classes ​

BackdropClickedEventArgs ​

Event arguments for backdrop click-away events. Provides context about where the click occurred and APIs to control popup/overlay behavior.

csharp
public sealed class BackdropClickedEventArgs

ButtonClickedEventArgs ​

Event arguments for button click events.

csharp
public sealed class ButtonClickedEventArgs : WidgetEventArgs<ButtonWidget, ButtonNode>

CalendarDateSelectedEventArgs ​

Event arguments for calendar date selection events.

csharp
public sealed class CalendarDateSelectedEventArgs : WidgetEventArgs<CalendarWidget, CalendarNode>

CheckboxToggledEventArgs ​

Event arguments for when a checkbox is toggled. The state transition is expressed as a pair of values rather than as references to the underlying instance — toggles mutate the existing state in place, so the "previous" instance no longer exists by the time the event fires.

csharp
public sealed class CheckboxToggledEventArgs

DatePickerDateSelectedEventArgs ​

Event arguments for date picker selection events.

csharp
public sealed class DatePickerDateSelectedEventArgs : WidgetEventArgs<DatePickerWidget, DatePickerNode>

DropEventArgs ​

Event arguments for a drop event on a . Contains the drag data from the source, the source node, and the local drop position relative to the droppable target's bounds.

csharp
public sealed class DropEventArgs : WidgetEventArgs<DroppableWidget, DroppableNode>

DropTargetEventArgs ​

Event arguments for a drop on a specific within a . Contains the target ID identifying which insertion point received the drop.

csharp
public sealed class DropTargetEventArgs : WidgetEventArgs<DroppableWidget, DroppableNode>

EditorTextChangedEventArgs ​

Event arguments for editor document text change events.

csharp
public sealed class EditorTextChangedEventArgs : WidgetEventArgs<EditorWidget, EditorNode>

HyperlinkClickedEventArgs ​

Event arguments for hyperlink click events.

csharp
public sealed class HyperlinkClickedEventArgs : WidgetEventArgs<HyperlinkWidget, HyperlinkNode>

IconClickedEventArgs ​

Event arguments for IconWidget click events.

csharp
public sealed class IconClickedEventArgs

InteractableClickedEventArgs ​

Event arguments for interactable click events. Fired when the interactable is activated via Enter, Space, or mouse click.

csharp
public sealed class InteractableClickedEventArgs : WidgetEventArgs<InteractableWidget, InteractableNode>

InteractableFocusChangedEventArgs ​

Event arguments for interactable focus change events. These fire from property setters (not input bindings), so no InputBindingActionContext is available.

csharp
public sealed class InteractableFocusChangedEventArgs

InteractableHoverChangedEventArgs ​

Event arguments for interactable hover change events. These fire from property setters (not input bindings), so no InputBindingActionContext is available.

csharp
public sealed class InteractableHoverChangedEventArgs

ListFocusChangedEventArgs<T> ​

Event arguments for focus-change events (the keyboard-navigation cursor moved to a new row). Carries the typed item value rather than just its string representation.

csharp
public sealed class ListFocusChangedEventArgs<T> : WidgetEventArgs<ListWidget<T>, ListNode<T>>

ListItemActivatedEventArgs ​

Event arguments for list item activation events (Enter/Space key or click).

csharp
public sealed class ListItemActivatedEventArgs : WidgetEventArgs<ListWidget, ListNode>

ListItemActivatedEventArgs<T> ​

Event arguments for item-activation events (Enter, Space, or click).

csharp
public sealed class ListItemActivatedEventArgs<T> : WidgetEventArgs<ListWidget<T>, ListNode<T>>

ListSelectionChangedEventArgs ​

Event arguments for the legacy non-generic selection change event. Kept for back-compat with the obsolete widget.

csharp
public sealed class ListSelectionChangedEventArgs : WidgetEventArgs<ListWidget, ListNode>

ListSelectionChangedEventArgs<T> ​

Event arguments raised when the multi-select set on a changes (Space toggles a row, Shift+Arrow extends a range, Ctrl+A selects-all, or the controlled SelectedIndices property mutates).

The cursor moving to a new row (Up/Down/Home/End/PageUp/PageDown) raises , not this event — focus and selection are independent concepts in multi-select mode.

csharp
public sealed class ListSelectionChangedEventArgs<T> : WidgetEventArgs<ListWidget<T>, ListNode<T>>

MarkdownLinkActivatedEventArgs ​

Event arguments raised when a link in a markdown widget is activated. Set to true to suppress default behavior (e.g., opening a browser or scrolling to a heading).

csharp
public sealed class MarkdownLinkActivatedEventArgs

Event arguments for when a menu item is activated (user triggers the action). Note: All menus are automatically closed after the activation handler completes.

csharp
public sealed class MenuItemActivatedEventArgs

PasteEventArgs ​

Event arguments for paste events. Provides streaming access to the pasted content via .

csharp
public sealed class PasteEventArgs

PickerSelectionChangedEventArgs ​

Event arguments for picker selection changed events.

csharp
public sealed class PickerSelectionChangedEventArgs : WidgetEventArgs<PickerWidget, PickerNode>

RescueEventArgs ​

Event arguments for when a rescue widget catches an exception.

csharp
public sealed record RescueEventArgs : IEquatable<RescueEventArgs>

RescueResetEventArgs ​

Event arguments for when a rescue widget is reset.

csharp
public sealed record RescueResetEventArgs : IEquatable<RescueResetEventArgs>

ScrollChangedEventArgs ​

Event arguments for scroll position changes. Provides information about the current scroll state when scrolling occurs.

csharp
public sealed class ScrollChangedEventArgs : WidgetEventArgs<ScrollPanelWidget, ScrollPanelNode>

SliderValueChangedEventArgs ​

Event arguments for slider value change events.

csharp
public sealed class SliderValueChangedEventArgs : WidgetEventArgs<SliderWidget, SliderNode>

SplitButtonClickedEventArgs ​

Event arguments for split button click events.

csharp
public sealed class SplitButtonClickedEventArgs : EventArgs

TextChangedEventArgs ​

Event arguments for text box text change events.

csharp
public sealed class TextChangedEventArgs : WidgetEventArgs<TextBoxWidget, TextBoxNode>

TextSubmittedEventArgs ​

Event arguments for text box submit events (when Enter is pressed).

csharp
public sealed class TextSubmittedEventArgs : WidgetEventArgs<TextBoxWidget, TextBoxNode>

TilePanelPanEventArgs ​

Event arguments for TilePanel pan events.

csharp
public sealed class TilePanelPanEventArgs : WidgetEventArgs<TilePanelWidget, TilePanelNode>

TilePanelPoiClickedEventArgs ​

Event arguments for TilePanel point-of-interest click events.

csharp
public sealed class TilePanelPoiClickedEventArgs : WidgetEventArgs<TilePanelWidget, TilePanelNode>

TilePanelZoomEventArgs ​

Event arguments for TilePanel zoom events.

csharp
public sealed class TilePanelZoomEventArgs : WidgetEventArgs<TilePanelWidget, TilePanelNode>

ToggleSelectionChangedEventArgs ​

Event arguments for toggle switch selection change events.

csharp
public sealed class ToggleSelectionChangedEventArgs : WidgetEventArgs<ToggleSwitchWidget, ToggleSwitchNode>

TreeItemActivatedEventArgs ​

Event arguments for tree item activation events (Enter key or double-click).

csharp
public sealed class TreeItemActivatedEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

TreeItemClickedEventArgs ​

Event arguments for tree item clicked events (single-click).

csharp
public sealed class TreeItemClickedEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

TreeItemCollapsedEventArgs ​

Event arguments for tree item collapsed events.

csharp
public sealed class TreeItemCollapsedEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

TreeItemExpandedEventArgs ​

Event arguments for tree item expanded events (after expansion completes).

csharp
public sealed class TreeItemExpandedEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

TreeItemExpandingEventArgs ​

Event arguments for tree item expanding events (before children are loaded). Used for lazy loading of children.

csharp
public sealed class TreeItemExpandingEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

TreeSelectionChangedEventArgs ​

Event arguments for tree selection change events.

csharp
public sealed class TreeSelectionChangedEventArgs : WidgetEventArgs<TreeWidget, TreeNode>

WidgetEventArgs ​

Base class for all widget event arguments. Provides access to the InputBindingActionContext for focus navigation, app control, and cancellation.

csharp
public abstract class WidgetEventArgs

WidgetEventArgs<TWidget, TNode> ​

Strongly-typed base class for widget event arguments. Provides typed access to both the widget configuration and the node instance.

csharp
public abstract class WidgetEventArgs<TWidget, TNode> : WidgetEventArgs where TWidget : Hex1bWidget where TNode : Hex1bNode

Enums ​

ListSelectionChangeReason ​

The reason a was raised. Surfaced via so handlers can distinguish a user-toggle from a select-all from a programmatic mutation.

csharp
public enum ListSelectionChangeReason

MarkdownLinkKind ​

Describes the kind of link activated in a markdown widget.

csharp
public enum MarkdownLinkKind

Released under the MIT License.