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
示例#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);
            };
        }
示例#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);
                };
        }
示例#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);
 }