Example #1
0
 /// <summary>
 /// Initializes a new instance of the SplitView class.
 /// </summary>
 public SplitView()
 {
     DefaultStyleKey  = typeof(SplitView);
     TemplateSettings = new SplitViewTemplateSettings()
     {
         OpenPaneLength = OpenPaneLength
     };
     UpdateTemplateSettings();
 }
Example #2
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();
                ChangeVisualState(false);
            };
        }
Example #3
0
		/// <summary>
		/// Initializes a new instance of the SplitView class.
		/// </summary>
		public SplitView()
		{
			DefaultStyleKey = typeof(SplitView);
			TemplateSettings = new SplitViewTemplateSettings() { OpenPaneLength = OpenPaneLength };
			UpdateTemplateSettings();
		}