예제 #1
0
        public SplitView()
        {
            PseudoClasses.Add(":overlay");
            PseudoClasses.Add(":left");

            TemplateSettings = new SplitViewTemplateSettings();
        }
예제 #2
0
        public SplitView()
        {
            TemplateSettings = new SplitViewTemplateSettings();

            SizeChanged      += OnSizeChanged;
            IsVisibleChanged += OnIsVisibleChanged;
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SplitView"/> class.
        /// </summary>
        public SplitView()
        {
            DefaultStyleKey = typeof(SplitView);

            TemplateSettings = new SplitViewTemplateSettings(this);

            Loaded += (s, args) =>
            {
                TemplateSettings.Update();
                OnStateChanged(false);
            };
        }