# is-default parameter (skin)

Source: https://ref.dm-lang.org/skin/param/is-default

### Applies to
> [All](https://ref.dm-lang.org/skin/control/index.md)

### Format
> `true/false`

### Default value
> `false`

Specifies that this is a default control. This should be true for your main window, and for your primary map, info, output, input, and browser controls.

The default control of a given type can be referenced in [winset()](https://ref.dm-lang.org/proc/winset.md) and other skin-related procs by the name `":*type*"`, e.g. `":map"`.

Changing this value at runtime should be avoided, especially for windows. Results may be unpredictable.

### See also
- [id parameter](https://ref.dm-lang.org/skin/param/id.md)
- [parent parameter](https://ref.dm-lang.org/skin/param/parent.md)
- [type parameter](https://ref.dm-lang.org/skin/param/type.md)
