OneSimpleProperty Sample

Back to summary

Source

using System.Runtime.Serialization;

namespace XmlSerializersTest.Samples
{
    [Title("One property of built-in type")]
    public class OneSimpleProperty
    {
        public int Value { get; set; }
    }
}

XAML Serializer

<OneSimpleProperty Value="42" xmlns="clr-namespace:XmlSerializersTest.Samples;assembly=XmlSerializersTest" />