> For the complete documentation index, see [llms.txt](https://docs.flatredball.com/gum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flatredball.com/gum/code.md).

# Code

- [About](https://docs.flatredball.com/gum/code/about.md)
- [Gum in Code](https://docs.flatredball.com/gum/code/about/gum-in-code.md)
- [Layout Overview](https://docs.flatredball.com/gum/code/about/layout-overview.md)
- [For WPF Users](https://docs.flatredball.com/gum/code/about/for-wpf-users.md)
- [Getting Started](https://docs.flatredball.com/gum/code/getting-started.md)
- [Setup](https://docs.flatredball.com/gum/code/getting-started/setup.md)
- [Empty Project (Before adding Gum)](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum.md)
- [Meadow](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/meadow.md)
- [MonoGame/KNI/FNA](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/monogame-kni-fna.md)
- [.NET MAUI](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/.net-maui.md)
- [Nez](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/nez.md)
- [raylib (raylib-cs)](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/raylib-raylib-cs.md)
- [Silk.NET](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/silk.net.md)
- [Stride](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/stride.md)
- [WPF](https://docs.flatredball.com/gum/code/getting-started/setup/empty-project-before-adding-gum/wpf.md)
- [Adding/Initializing Gum](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum.md)
- [MonoGame/KNI/FNA](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/monogame-kni-fna.md)
- [Visual Studio Code and Linking Source](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/monogame-kni-fna/visual-studio-code-and-linking-source.md)
- [.NET MAUI](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/.net-maui.md)
- [raylib (raylib-cs)](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/raylib-raylib-cs.md)
- [Silk.NET](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/silk.net.md)
- [SkiaSharp (General Canvas)](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/skiasharp-general-canvas.md)
- [Stride](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/stride.md)
- [Unity](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/unity.md)
- [WPF](https://docs.flatredball.com/gum/code/getting-started/setup/adding-initializing-gum/wpf.md)
- [Loading a Gum Project (.gumj/.gumx)](https://docs.flatredball.com/gum/code/getting-started/setup/loading-a-gum-project-.gumx.md)
- [Setup for GumBatch (Optional)](https://docs.flatredball.com/gum/code/getting-started/setup/setup-for-gumbatch.md)
- [Tutorials](https://docs.flatredball.com/gum/code/getting-started/tutorials.md)
- [Gum UI Tool and Code Tutorial](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial.md)
- [Setup](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial/setup.md)
- [Gum Screens and Code Generation](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial/gum-screens.md)
- [Common Component Types](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial/common-component-types.md)
- [Styling](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial/styling.md)
- [Multiple Screens](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-forms-tutorial/multiple-screens.md)
- [Gum Code-Only Tutorial](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial.md)
- [Setup](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial/setup.md)
- [Forms Controls](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial/forms-controls.md)
- [ListBox Items](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial/listbox-items.md)
- [Input in Forms](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial/input-in-forms.md)
- [Creating New Controls](https://docs.flatredball.com/gum/code/getting-started/tutorials/code-only-gum-forms-tutorial/creating-new-controls.md)
- [\[Deprecated\] Gum Project (.gumx) Tutorial](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial.md)
- [Setup](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/setup.md)
- [Gum Screens](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/gum-screens.md)
- [Gum Forms](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/gum-forms.md)
- [Customizing Forms](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/customizing-forms.md)
- [Strongly Typed Components Using Code Generation](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/strongly-typed-components-using-code-generation.md)
- [Multiple Screens](https://docs.flatredball.com/gum/code/getting-started/tutorials/gum-project-.gumx-tutorial/multiple-screens.md)
- [Controls](https://docs.flatredball.com/gum/code/controls.md)
- [Button](https://docs.flatredball.com/gum/code/controls/button.md)
- [CheckBox](https://docs.flatredball.com/gum/code/controls/checkbox.md)
- [ColorPicker](https://docs.flatredball.com/gum/code/controls/colorpicker.md)
- [ComboBox (Dropdown)](https://docs.flatredball.com/gum/code/controls/combobox.md)
- [DialogBox](https://docs.flatredball.com/gum/code/controls/dialogbox.md)
- [File Dialog (native)](https://docs.flatredball.com/gum/code/controls/file-dialog-native.md)
- [FrameworkElement](https://docs.flatredball.com/gum/code/controls/frameworkelement.md)
- [BindingContext](https://docs.flatredball.com/gum/code/controls/frameworkelement/bindingcontext.md)
- [IsEnabled](https://docs.flatredball.com/gum/code/controls/frameworkelement/isenabled.md)
- [IsFocused](https://docs.flatredball.com/gum/code/controls/frameworkelement/isfocused.md)
- [SetBinding](https://docs.flatredball.com/gum/code/controls/frameworkelement/setbinding.md)
- [Grid](https://docs.flatredball.com/gum/code/controls/grid.md)
- [ItemsControl](https://docs.flatredball.com/gum/code/controls/itemscontrol.md)
- [Label](https://docs.flatredball.com/gum/code/controls/label.md)
- [ListBox](https://docs.flatredball.com/gum/code/controls/listbox.md)
- [ListBoxItem](https://docs.flatredball.com/gum/code/controls/listboxitem.md)
- [Styling in Gum Tool](https://docs.flatredball.com/gum/code/controls/listboxitem/styling-in-gum-tool.md)
- [Menu](https://docs.flatredball.com/gum/code/controls/menu.md)
- [MenuItem](https://docs.flatredball.com/gum/code/controls/menuitem.md)
- [PasswordBox](https://docs.flatredball.com/gum/code/controls/passwordbox.md)
- [RadioButton](https://docs.flatredball.com/gum/code/controls/radiobutton.md)
- [ScrollBar](https://docs.flatredball.com/gum/code/controls/scrollbar.md)
- [ScrollViewer](https://docs.flatredball.com/gum/code/controls/scrollviewer.md)
- [Bottom-to-Top Stacking](https://docs.flatredball.com/gum/code/controls/scrollviewer/bottom-to-top-stacking.md)
- [Horizontal Scrolling](https://docs.flatredball.com/gum/code/controls/scrollviewer/horizontal-scrolling.md)
- [MakeSizedToChildren](https://docs.flatredball.com/gum/code/controls/scrollviewer/makesizedtochildren.md)
- [Sticky Headers](https://docs.flatredball.com/gum/code/controls/scrollviewer/sticky-headers.md)
- [VerticalScrollBarValue](https://docs.flatredball.com/gum/code/controls/scrollviewer/verticalscrollbarvalue.md)
- [VerticalScrollBarVisibility](https://docs.flatredball.com/gum/code/controls/scrollviewer/verticalscrollbarvisibility.md)
- [StackPanel](https://docs.flatredball.com/gum/code/controls/stackpanel.md)
- [Slider](https://docs.flatredball.com/gum/code/controls/slider.md)
- [Splitter](https://docs.flatredball.com/gum/code/controls/splitter.md)
- [TextBox](https://docs.flatredball.com/gum/code/controls/textbox.md)
- [Tooltip](https://docs.flatredball.com/gum/code/controls/tooltip.md)
- [Window](https://docs.flatredball.com/gum/code/controls/window.md)
- [Layout](https://docs.flatredball.com/gum/code/layout.md)
- [Introduction to Gum Layout](https://docs.flatredball.com/gum/code/layout/introduction-to-gum-layout.md)
- [Anchor and Dock](https://docs.flatredball.com/gum/code/layout/anchor-and-dock.md)
- [Stacking](https://docs.flatredball.com/gum/code/layout/stacking.md)
- [Grid](https://docs.flatredball.com/gum/code/layout/grid.md)
- [Resolution and Resizing the Game Window](https://docs.flatredball.com/gum/code/layout/resizing-the-game-window.md)
- [Drawing with a Custom Camera](https://docs.flatredball.com/gum/code/layout/drawing-with-a-custom-camera.md)
- [Layout Export](https://docs.flatredball.com/gum/code/layout/layout-export.md)
- [Events and Interactivity](https://docs.flatredball.com/gum/code/events-and-interactivity.md)
- [Common Control Events](https://docs.flatredball.com/gum/code/events-and-interactivity/common-control-events.md)
- [Troubleshooting Events](https://docs.flatredball.com/gum/code/events-and-interactivity/troubleshooting-events.md)
- [Visual Events](https://docs.flatredball.com/gum/code/events-and-interactivity/visual-events.md)
- [Event Bounds and Clipping](https://docs.flatredball.com/gum/code/events-and-interactivity/event-bounds-and-clipping.md)
- [Tabbing (Moving Focus)](https://docs.flatredball.com/gum/code/events-and-interactivity/tabbing-moving-focus.md)
- [Scrolling](https://docs.flatredball.com/gum/code/events-and-interactivity/scrolling.md)
- [Mouse and Touch Screen (Cursor)](https://docs.flatredball.com/gum/code/events-and-interactivity/mouse-and-touch-screen-cursor.md)
- [Gamepad Support](https://docs.flatredball.com/gum/code/events-and-interactivity/gamepad-support.md)
- [Keyboard Support](https://docs.flatredball.com/gum/code/events-and-interactivity/keyboard-support.md)
- [Styling](https://docs.flatredball.com/gum/code/styling.md)
- [Code-Only Styling](https://docs.flatredball.com/gum/code/styling/code-only-styling.md)
- [Styling Using ActiveStyles](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-using-activestyles.md)
- [Styling Individual Controls](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-individual-controls.md)
- [Styling Using States](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-using-states.md)
- [Adding and Removing Visual Children](https://docs.flatredball.com/gum/code/styling/code-only-styling/adding-and-removing-visual-children.md)
- [Customizing ListBox and ComboBox](https://docs.flatredball.com/gum/code/styling/code-only-styling/customizing-listbox-and-combobox.md)
- [Customizing Menu and MenuItem](https://docs.flatredball.com/gum/code/styling/code-only-styling/customizing-menu-and-menuitem.md)
- [Control Customization in Gum Tool](https://docs.flatredball.com/gum/code/styling/control-customization-in-gum-tool.md)
- [Properties Set by Forms Controls](https://docs.flatredball.com/gum/code/styling/properties-set-by-forms-controls.md)
- [Runtime Variable References](https://docs.flatredball.com/gum/code/styling/runtime-variable-references.md)
- [Themes](https://docs.flatredball.com/gum/code/styling/themes.md)
- [Editor Theme](https://docs.flatredball.com/gum/code/styling/themes/editor-theme.md)
- [Standard Visuals](https://docs.flatredball.com/gum/code/standard-visuals.md)
- [CircleRuntime](https://docs.flatredball.com/gum/code/standard-visuals/circleruntime.md)
- [ColoredRectangleRuntime](https://docs.flatredball.com/gum/code/standard-visuals/coloredrectangleruntime.md)
- [ContainerRuntime](https://docs.flatredball.com/gum/code/standard-visuals/containerruntime.md)
- [NineSliceRuntime](https://docs.flatredball.com/gum/code/standard-visuals/ninesliceruntime.md)
- [PolygonRuntime](https://docs.flatredball.com/gum/code/standard-visuals/polygonruntime.md)
- [RectangleRuntime](https://docs.flatredball.com/gum/code/standard-visuals/rectangleruntime.md)
- [RoundedRectangleRuntime](https://docs.flatredball.com/gum/code/standard-visuals/roundedrectangleruntime.md)
- [CornerRadius](https://docs.flatredball.com/gum/code/standard-visuals/roundedrectangleruntime/cornerradius.md)
- [Shapes](https://docs.flatredball.com/gum/code/standard-visuals/shapes-apos.shapes.md)
- [SpriteRuntime](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime.md)
- [RenderTargetTextureSource](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/rendertargettexturesource.md)
- [TextureAddress](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/textureaddress.md)
- [TextureHeight](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/textureheight.md)
- [TextureLeft](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/textureleft.md)
- [TextureTop](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/texturetop.md)
- [TextureWidth](https://docs.flatredball.com/gum/code/standard-visuals/spriteruntime/texturewidth.md)
- [TextRuntime](https://docs.flatredball.com/gum/code/standard-visuals/textruntime.md)
- [BBCode](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/bbcode.md)
- [Blend](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/blend.md)
- [Color](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/color.md)
- [Fonts](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/fonts.md)
- [FontScale](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/fontscale.md)
- [FontSize](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/fontsize.md)
- [GetCharacterIndexAtPosition](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/getcharacterindexatposition.md)
- [HorizontalAlignment](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/horizontalalignment.md)
- [MaxLettersToShow](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/maxletterstoshow.md)
- [Text Wrapping](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/text-wrapping.md)
- [VerticalAlignment](https://docs.flatredball.com/gum/code/standard-visuals/textruntime/verticalalignment.md)
- [Visual Tree](https://docs.flatredball.com/gum/code/visual-tree.md)
- [Finding Elements](https://docs.flatredball.com/gum/code/visual-tree/finding-elements.md)
- [Showing and Removing UI](https://docs.flatredball.com/gum/code/visual-tree/showing-and-removing-ui.md)
- [Rendering](https://docs.flatredball.com/gum/code/rendering.md)
- [GumBatch](https://docs.flatredball.com/gum/code/rendering/gumbatch.md)
- [Render Targets](https://docs.flatredball.com/gum/code/rendering/render-targets.md)
- [Rendering Custom Graphics](https://docs.flatredball.com/gum/code/rendering/rendering-custom-graphics.md)
- [Texture Filtering](https://docs.flatredball.com/gum/code/rendering/texture-filtering.md)
- [Ordering, Layers, and Popups](https://docs.flatredball.com/gum/code/ordering-layers-and-popups.md)
- [Object Order](https://docs.flatredball.com/gum/code/ordering-layers-and-popups/object-order.md)
- [Mixing Gum and 3D](https://docs.flatredball.com/gum/code/ordering-layers-and-popups/mixing-gum-and-3d.md)
- [Files and Fonts](https://docs.flatredball.com/gum/code/files-and-fonts.md)
- [Fonts](https://docs.flatredball.com/gum/code/files-and-fonts/fonts.md)
- [Font Strategies](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-strategies.md)
- [Font Performance](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-performance.md)
- [Font Preloading](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-preloading.md)
- [Fonts on Web](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/fonts-web.md)
- [Font Localization](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-localization.md)
- [Font Cache](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-cache.md)
- [Advanced Font Effects](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/advanced-font-effects.md)
- [Font Oversampling](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-oversampling.md)
- [Automatic Glyph Growth](https://docs.flatredball.com/gum/code/files-and-fonts/fonts/font-automatic-growth.md)
- [File Loading](https://docs.flatredball.com/gum/code/files-and-fonts/file-loading.md)
- [Animation Chains](https://docs.flatredball.com/gum/code/files-and-fonts/animation-chains.md)
- [BitmapFont](https://docs.flatredball.com/gum/code/files-and-fonts/bitmapfont.md)
- [Content Using Embedded Resources](https://docs.flatredball.com/gum/code/files-and-fonts/content-using-embedded-resources.md)
- [Troubleshooting](https://docs.flatredball.com/gum/code/files-and-fonts/troubleshooting.md)
- [Localization](https://docs.flatredball.com/gum/code/localization.md)
- [Debugging](https://docs.flatredball.com/gum/code/debugging.md)
- [Hot Reload](https://docs.flatredball.com/gum/code/debugging/hot-reload.md)
- [Runtime Snapshot](https://docs.flatredball.com/gum/code/debugging/runtime-snapshot.md)
- [Binding and MVVM](https://docs.flatredball.com/gum/code/binding-viewmodels.md)
- [Tutorial - Settings Screen](https://docs.flatredball.com/gum/code/binding-viewmodels/tutorial-settings-screen.md)
- [Tutorial - Task Screen](https://docs.flatredball.com/gum/code/binding-viewmodels/tutorial-task-screen.md)
- [Items Binding (ListBox, ComboBox, ItemsControl)](https://docs.flatredball.com/gum/code/binding-viewmodels/items-binding-listbox-combobox-itemscontrol.md)
- [Advanced Binding Options](https://docs.flatredball.com/gum/code/binding-viewmodels/advanced-binding-options.md)
- [View Model Property Dependency](https://docs.flatredball.com/gum/code/binding-viewmodels/view-model-property-dependency.md)
- [Binding Visual Properties](https://docs.flatredball.com/gum/code/binding-viewmodels/binding-deep-dive.md)
- [Binding Custom View Properties](https://docs.flatredball.com/gum/code/binding-viewmodels/binding-custom-view-properties.md)
- [Animation](https://docs.flatredball.com/gum/code/animationruntime.md)
- [Performance and Optimization](https://docs.flatredball.com/gum/code/performance-and-optimization.md)
- [Measuring Draw Calls](https://docs.flatredball.com/gum/code/performance-and-optimization/lastframedrawstates.md)
- [Measuring Layout Calls](https://docs.flatredball.com/gum/code/performance-and-optimization/measuring-layout-calls.md)
- [SinglePixelTexture](https://docs.flatredball.com/gum/code/performance-and-optimization/singlepixeltexture.md)
- [Batch Key Grouped Orderer](https://docs.flatredball.com/gum/code/performance-and-optimization/batchkeygroupedorderer.md)
- [Culling Off-Screen Renderables](https://docs.flatredball.com/gum/code/performance-and-optimization/culling-offscreen-renderables.md)
- [Native AOT and Trimming](https://docs.flatredball.com/gum/code/performance-and-optimization/native-aot-and-trimming.md)
- [Gum Tool Code (Contributing and Plugins)](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins.md)
- [DataUiGrid](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/datauigrid.md)
- [Reflection](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/datauigrid/reflection.md)
- [Categories](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/datauigrid/categories.md)
- [ElementSave](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/elementsave.md)
- [ToGraphicalUiElement](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/elementsave/tographicaluielement.md)
- [GumProjectSave](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/gumprojectsave.md)
- [IDataUi](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/idataui.md)
- [InstanceMember](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/instancemember.md)
- [InstanceSave](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/instancesave.md)
- [SelectedState](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/selectedstate.md)
- [VariableSave](https://docs.flatredball.com/gum/code/gum-tool-code-contributing-and-plugins/variablesave.md)
- [async Programming](https://docs.flatredball.com/gum/code/async-programming.md)
- [Gum Code Reference](https://docs.flatredball.com/gum/code/gum-code-reference.md)
- [Camera](https://docs.flatredball.com/gum/code/gum-code-reference/camera.md)
- [Cursor](https://docs.flatredball.com/gum/code/gum-code-reference/cursor.md)
- [Position](https://docs.flatredball.com/gum/code/gum-code-reference/cursor/position.md)
- [TransformMatrix](https://docs.flatredball.com/gum/code/gum-code-reference/cursor/transformmatrix.md)
- [GraphicalUiElement](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement.md)
- [Absolute Values](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/absolute-values.md)
- [AddToManagers](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/addtomanagers.md)
- [AnimateSelf](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/animateself.md)
- [ApplyState](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/applystate.md)
- [BlendState](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/blendstate.md)
- [CanvasHeight](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/canvasheight.md)
- [CanvasWidth](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/canvaswidth.md)
- [Children](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/children.md)
- [ContainedElements](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/containedelements.md)
- [Dock](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/dock.md)
- [Font Values](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/font-values.md)
- [GetAbsoluteHeight](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/getabsoluteheight.md)
- [GetAbsoluteWidth](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/getabsolutewidth.md)
- [GetChildByNameRecursively](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/getchildbynamerecursively.md)
- [GetFrameworkElementByName](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/getframeworkelementbyname.md)
- [IsAllLayoutSuspended](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/isalllayoutsuspended.md)
- [Parent](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/parent.md)
- [ParentChanged](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/parentchanged.md)
- [RemoveFromManagers](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/removefrommanagers.md)
- [UpdateLayout](https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/updatelayout.md)
- [GumService (GumUI)](https://docs.flatredball.com/gum/code/gum-code-reference/gumservice-gumui.md)
- [ModalRoot and PopupRoot](https://docs.flatredball.com/gum/code/gum-code-reference/gumservice-gumui/modalroot-and-popuproot.md)
- [InteractiveGue](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue.md)
- [AddNextPushAction](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/addnextpushaction.md)
- [AddNextClickAction](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/addnextclickaction.md)
- [Click](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/click.md)
- [CurrentInputReceiver](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/currentinputreceiver.md)
- [Push](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/push.md)
- [RaiseChildrenEventsOutsideOfBounds](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/raisechildreneventsoutsideofbounds.md)
- [RollOverBubbling](https://docs.flatredball.com/gum/code/gum-code-reference/interactivegue/rolloverbubbling.md)
- [Layer](https://docs.flatredball.com/gum/code/gum-code-reference/layer.md)
- [MonoGame](https://docs.flatredball.com/gum/code/monogame.md)
- [Layered Forms](https://docs.flatredball.com/gum/code/monogame/layered-forms.md)
- [Ordering](https://docs.flatredball.com/gum/code/monogame/ordering.md)
- [Known Issues](https://docs.flatredball.com/gum/code/monogame/known-issues.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flatredball.com/gum/code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
