Inheritance: FrameworkTemplate, IControlTemplate
        // *** Constructors ***

        public SettingsPaneHost()
        {
            string chromelessXaml = "<ControlTemplate xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"><ContentPresenter/></ControlTemplate>";
            _chromelessTemplate = (ControlTemplate)Windows.UI.Xaml.Markup.XamlReader.Load(chromelessXaml);

            base.BackClick += SettingsPaneHost_BackClick;
        }
        protected override void OnItemsChanged(object e)
        {
            if (defaultTemplate == null)
                defaultTemplate = this.Template;

            this.Template = this.Items.Count > 0 ? defaultTemplate : this.EmptyTemplate;

            base.OnItemsChanged(e);
        }
        public ExtendedListView()
        {
            this.EmptyString = Strings.ListBoxEmptyStringDefault;
            this.EmptyTemplate = (ControlTemplate)App.Current.Resources["ExtendedListViewEmptyTemplate"];

            this.IsItemClickEnabled = true;
            this.ItemClick += ExtendedListView_ItemClick;

            ScrollViewer.SetVerticalScrollBarVisibility(this, ScrollBarVisibility.Visible);
        }