Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a SplitView. Not intended for general use.
Inheritance: System.Windows.DependencyObject
Ejemplo n.º 1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="SplitView" /> class.
        /// </summary>
        public SplitView()
        {
            this.DefaultStyleKey  = typeof(SplitView);
            this.TemplateSettings = new SplitViewTemplateSettings(this);

            this.Loaded += (s, args) =>
            {
                this.TemplateSettings.Update();
                this.ChangeVisualState(false);
            };
        }
Ejemplo n.º 2
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="SplitView" /> class.
        /// </summary>
        public SplitView()
        {
            this.DefaultStyleKey = typeof(SplitView);
            this.TemplateSettings = new SplitViewTemplateSettings(this);

            this.Loaded += (s, args) =>
                {
                    this.TemplateSettings.Update();
                    this.ChangeVisualState(false);
                };
        }
Ejemplo n.º 3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SplitView" /> class.
 /// </summary>
 public SplitView()
 {
     this.DefaultStyleKey  = typeof(SplitView);
     this.TemplateSettings = new SplitViewTemplateSettings(this);
 }