public SplitView() { PseudoClasses.Add(":overlay"); PseudoClasses.Add(":left"); TemplateSettings = new SplitViewTemplateSettings(); }
public SplitView() { TemplateSettings = new SplitViewTemplateSettings(); SizeChanged += OnSizeChanged; IsVisibleChanged += OnIsVisibleChanged; }
/// <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); }; }