Represents a control that displays an icon.

### Remarks

The IconElement control can be used to display any of the built-in icons as well as custom images.

### Properties

| Property               | Type       | Description                                                                 |
|-----------------------|------------|-----------------------------------------------------------------------------|
| `Background`          | Color      | The background color of the control.                                        |
| `Foreground`          | Color      | The color of the control's content.                                         |
| `Icon`                | Icon       | The icon for the control.                                                  |
| `IconSize`            | Float      | The size of the icon in dp pixels.                                         |
| `ShowAsMonochrome`    | Boolean    | A value that indicates whether the `Foreground` color is applied to the icon. |
| `Height`              | Float      | The suggested height of the control in dp pixels.                          |
| `HorizontalAlignment` | Enum       | The horizontal alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Margin`              | Thickness  | The outer margin that is applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Rotation`            | Integer    | The rotation about the Z-axis in degrees.                                 |
| `VerticalAlignment`   | Enum       | The vertical alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Width`               | Float      | The suggested width of the control in dp pixels.                           |
| `IsEnabled`           | Boolean    | A value that indicates whether the user can interact with the control.     |
| `IsHitTestVisible`    | Boolean    | A value that indicates whether the contained area of the control can return true values for hit testing. |
| `IsVisible`           | Boolean    | A value that indicates whether the control should be visible.              |
| `Opacity`             | Float      | A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning full opacity and 0 meaning transparent. |

### Events

| Event    | Description                                                                     |
|----------|---------------------------------------------------------------------------------|
| `Loaded` | Occurs when the element is laid out, rendered, and ready for interaction.      |
| `Unloaded` | Occurs when the element is no longer rendered on the screen.                 |
