# XamlReader class

Namespace: [Eto.Serialization.Xaml](https://eto.picoe.ca/api/namespace/eto.serialization.xaml.md) · Assembly: [Eto.Serialization.Xaml](https://eto.picoe.ca/api/assembly/eto.serialization.xaml.md)

```cs
public static class XamlReader
```

Methods to help load/save Eto objects to/from xaml

## Fields

- [DesignNamespace](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/designnamespace.md): (static) Xaml Namespace for designer-only attributes such as `d:DataContext`, only applied when [Control.IsDesignMode](https://eto.picoe.ca/api/type/eto.forms.control/isdesignmode.md) is true
- [EtoFormsNamespace](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/etoformsnamespace.md): (static) Xaml Namespace for Eto.Forms elements

## Properties

- [DesignMode](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/designmode.md): (static) Gets or sets a value indicating that the reader is used in design mode

## Methods

- [Load<T>](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/load.md): (9 overloads, static) Loads the specified type from a xaml of the same name
- [Watch<T>](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/watch.md): (static) Watches the .xeto file for changes and triggers the method specified by the [HotReloadAttribute](https://eto.picoe.ca/api/type/eto.hotreloadattribute.md), if any, when the file changes. Otherwise, it will reload the xeto into the control using [XamlReader.Load<T>()](https://eto.picoe.ca/api/type/eto.serialization.xaml.xamlreader/load.md).
