
# IUITheme interface

*No description yet.*

```csharp
public interface IUITheme
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetAttributeDictionary](#getattributedictionary) | `string` |  |
| [GetElementAttribute](#getelementattribute) | `bool` |  |
| [GetElementColor](#getelementcolor) | `bool` |  |
| [GetElementSize](#getelementsize) | `bool` |  |
| [GetElementSupported](#getelementsupported) | `bool` |  |
| [GetHRID](#gethrid) | `string` |  |
| [GetLayoutId](#getlayoutid) | `string` |  |
| [GetThemeColor](#getthemecolor) | `bool` |  |

### GetAttributeDictionary

*No description yet.*

```csharp
string GetAttributeDictionary();
```

**Returns:** `string`

### GetElementAttribute

*No description yet.*

```csharp
bool GetElementAttribute(string argElement, string argState, string argAttrName, out string argAttrValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argElement` | `string` | value |
| `argState` | `string` | value |
| `argAttrName` | `string` | value |
| `argAttrValue` | `string` | out |

**Returns:** `bool`

### GetElementColor

*No description yet.*

```csharp
bool GetElementColor(string argElement, string argState, out int argColor);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argElement` | `string` | value |
| `argState` | `string` | value |
| `argColor` | `int` | out |

**Returns:** `bool`

### GetElementSize

*No description yet.*

```csharp
bool GetElementSize(string argElement, string argState, out int argSize);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argElement` | `string` | value |
| `argState` | `string` | value |
| `argSize` | `int` | out |

**Returns:** `bool`

### GetElementSupported

*No description yet.*

```csharp
bool GetElementSupported(string argElement, string argState, bool argDefault);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argElement` | `string` | value |
| `argState` | `string` | value |
| `argDefault` | `bool` | value |

**Returns:** `bool`

### GetHRID

*No description yet.*

```csharp
string GetHRID();
```

**Returns:** `string`

### GetLayoutId

*No description yet.*

```csharp
string GetLayoutId();
```

**Returns:** `string`

### GetThemeColor

*No description yet.*

```csharp
bool GetThemeColor(string argColorName, out int argColor);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argColorName` | `string` | value |
| `argColor` | `int` | out |

**Returns:** `bool`

## Returned by

[IUIThemeManager.CurrentUITheme](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IUIThemeManager.md#currentuitheme)

## Accepted by

[IUIThemeSupport.ApplyUITheme](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IUIThemeSupport.md#applyuitheme)
