# Sandbox.UI.MarginControl

Edits the four edges of a margin in a panel property sheet.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.BaseControl](/api/Sandbox.UI.BaseControl)
- Modifiers: sealed

## Constructors

- [`MarginControl`](/api/Sandbox.UI.MarginControl/.ctor)

## Properties

- [`IsWideMode`](/api/Sandbox.UI.MarginControl/IsWideMode): Give the four edge fields the full width of the row.

## Methods

- [`Rebuild`](/api/Sandbox.UI.MarginControl/Rebuild): Bind each number entry to its corresponding edge.
