Esempio n. 1
0
        protected override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _headerBackground = this.GetTemplateChild(HeaderBackgroundName) as Windows.UI.Xaml.Controls.ScrollViewer;
            _mainListview     = this.GetTemplateChild(ScrollViewerName) as Windows.UI.Xaml.Controls.ListView;
            _commandBar       = this.GetTemplateChild(CommandBarName) as Windows.UI.Xaml.Controls.CommandBar;
        }
Esempio n. 2
0
 protected override void OnToggle()
 {
     CommandBar.OnCommandExecutionStatic(this);
     base.OnToggle();
 }
Esempio n. 3
0
 protected override void OnVisibilityChanged(Visibility oldValue, Visibility newValue)
 {
     base.OnVisibilityChanged(oldValue, newValue);
     CommandBar.OnCommandBarElementVisibilityChanged(this);
 }
 public void Init(CommandBar parent, bool notifyCollectionChanging)
 {
     m_parent = parent;
     m_notifyCollectionChanging = notifyCollectionChanging;
 }