﻿using System.Windows;
using System.Windows.Controls;

namespace InLine.Controls
{
    public partial class ContentViewer : UserControl
    {
        public ContentViewer()
        {
            InitializeComponent();

            LayoutRoot.DataContext = this;
        }

        public string Content
        {
            get { return (string)GetValue(ContentProperty); }
            set
            {
                SetValue(ContentProperty, value);
            }
        }

        public static DependencyProperty ContentProperty = DependencyProperty.Register("Content", typeof(string), typeof(ContentViewer));
    }
}