Skip to content

SplitButtonExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating split button widgets in widget contexts.

csharp
public static class SplitButtonExtensions

Inheritance

ObjectSplitButtonExtensions

Methods

SplitButton<T>(WidgetContext<T>)

Creates a split button with a primary action and optional secondary actions in a dropdown menu.

Parameters:

  • context (WidgetContext<<T>>): The widget context.

Returns: SplitButtonWidget

A split button widget that can be further configured with primary and secondary actions.

csharp
public static SplitButtonWidget SplitButton<T>(this WidgetContext<T> context) where T : Hex1bWidget

Released under the MIT License.