# Use XAML

## Content

XAML is a markup language used for creating user interfaces in WPF. For more details about XAML in WPF, please refer to [XAML with WPF](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/xaml/?redirectedfrom=MSDN "https://learn.microsoft.com/en-us/dotnet/desktop/wpf/xaml/?redirectedfrom=MSDN") on MSDN.

## Namespace

To use this product in XAML, declare the following namespace:

| **Namespace** | **Description** |
| --------- | ----------- |
| xmlns:gss="http://schemas.grapecity.com/windows/spreadsheet/2020" | The default namespace for this product. |

By declaring the above namespace, you can place this product in your window using the `gss:` prefix. For example, you can write the following XAML:

```auto
<gss:GcSpreadSheet />
```

## Features Configurable in XAML

Only certain features can be configured in XAML. The following features are supported for XAML configuration:

| **Interface** | **Property** |
| --------- | -------- |
| @rows=11:IWorksheet | ColumnCount |
| Columns |
| DataManager |
| Name |
| Outline |
| RowCount |
| Selection |
| Sort |
| Styles |
| View |
| Visible |
| @rows=11:IWorkbook | Date1904 |
| Features |
| Name |
| Names |
| SaveLinkValues |
| ShowHorizontalScroll |
| ShowSheetTabs |
| ShowVerticalScroll |
| Styles |
| UpdateLinks |
| Worksheets |
| @rows=15:IRange | Borders |
| CellType |
| ColumnWidth |
| Font |
| Hidden |
| HorizontalAlignment |
| IndentLevel |
| Interior |
| Locked |
| NumberFormat |
| Orientation |
| ShrinkToFit |
| Style |
| VerticalAlignment |
| WrapText |
