# Code-Only Styling

## Introduction

This section discusses how to style your Gum controls in a code-only project. Styling can be performed globally or per control individually.

* [Styling Using ActiveStyles](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-using-activestyles) - the ActiveStyles provides default, global styling for your Gum UI
* [Styling Individual Controls](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-individual-controls) - modify values directly on a control to control styling
* [Styling Using States](https://docs.flatredball.com/gum/code/styling/code-only-styling/styling-using-states) - specify styles in response to actions such as hover and push
* [Adding and Removing Visual Children](https://docs.flatredball.com/gum/code/styling/code-only-styling/adding-and-removing-visual-children) - visuals can be added and removed to customize the appearance of a control
* [Customizing ListBox and ComboBox](https://docs.flatredball.com/gum/code/styling/code-only-styling/customizing-listbox-and-combobox) - discusses how to customize items created by ListBox and ComboBox
* [Customizing Menu and MenuItem](https://docs.flatredball.com/gum/code/styling/code-only-styling/customizing-menu-and-menuitem) - discusses how to customize items created in a Menu


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flatredball.com/gum/code/styling/code-only-styling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
