ScrollPanelExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for building ScrollPanelWidget.
csharp
public static class ScrollPanelExtensionsInheritance
Object → ScrollPanelExtensions
Methods
HScrollPanel<TParent>(WidgetContext<TParent>, Func<WidgetContext<HStackWidget>, Hex1bWidget[]>, bool)
Creates a horizontal scroll panel with an HStack child built from a callback.
Parameters:
ctx(WidgetContext<<TParent>>):childBuilder(Func<HStackWidget>, Hex1bWidget[]>):showScrollbar(Boolean):
Returns: ScrollPanelWidget
csharp
public static ScrollPanelWidget HScrollPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<HStackWidget>, Hex1bWidget[]> childBuilder, bool showScrollbar = true) where TParent : Hex1bWidgetHScrollPanel<TParent>(WidgetContext<TParent>, Hex1bWidget, bool)
Creates a horizontal scroll panel with the specified child.
Parameters:
ctx(WidgetContext<<TParent>>):child(Hex1bWidget):showScrollbar(Boolean):
Returns: ScrollPanelWidget
csharp
public static ScrollPanelWidget HScrollPanel<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child, bool showScrollbar = true) where TParent : Hex1bWidgetScrollPanel<TParent>(WidgetContext<TParent>, Hex1bWidget, ScrollOrientation, bool)
Creates a scroll panel with the specified orientation.
Parameters:
ctx(WidgetContext<<TParent>>):child(Hex1bWidget):orientation(ScrollOrientation):showScrollbar(Boolean):
Returns: ScrollPanelWidget
csharp
public static ScrollPanelWidget ScrollPanel<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child, ScrollOrientation orientation, bool showScrollbar = true) where TParent : Hex1bWidgetVScrollPanel<TParent>(WidgetContext<TParent>, Func<WidgetContext<VStackWidget>, Hex1bWidget[]>, bool)
Creates a vertical scroll panel with a VStack child built from a callback.
Parameters:
ctx(WidgetContext<<TParent>>):childBuilder(Func<VStackWidget>, Hex1bWidget[]>):showScrollbar(Boolean):
Returns: ScrollPanelWidget
csharp
public static ScrollPanelWidget VScrollPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<VStackWidget>, Hex1bWidget[]> childBuilder, bool showScrollbar = true) where TParent : Hex1bWidgetVScrollPanel<TParent>(WidgetContext<TParent>, Hex1bWidget, bool)
Creates a vertical scroll panel with the specified child.
Parameters:
ctx(WidgetContext<<TParent>>):child(Hex1bWidget):showScrollbar(Boolean):
Returns: ScrollPanelWidget
csharp
public static ScrollPanelWidget VScrollPanel<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child, bool showScrollbar = true) where TParent : Hex1bWidget