protected virtual void OnViewChanged(DevExpress.ExpressApp.View view)
 {
     if (ViewChanged != null)
     {
         ViewChanged(this, new TemplateViewChangedEventArgs(view));
     }
 }
Ejemplo n.º 2
0
 public WinHintPanelDecorator(View view, HintPanel hintPanel)
     : base(view,hintPanel)
 {
     this.hintPanel = hintPanel;
     hintPanel.Disposed += hintPanel_Disposed;
     UpdateText();
     count++;
 }
    public void SetView(DevExpress.ExpressApp.View view)
    {
        this.view = view;
        if (view != null)
        {
            contextMenu.CreateControls(view);
        }

        OnViewChanged(view);
    }
Ejemplo n.º 4
0
 public void SetView(DevExpress.ExpressApp.View view)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Raises the view changed.
 /// </summary>
 /// <param name="view">The view.</param>
 protected virtual void RaiseViewChanged(DevExpress.ExpressApp.View view)
 => ViewChanged?.Invoke(this, new TemplateViewChangedEventArgs(view));
Ejemplo n.º 6
0
        ///// <summary>
        ///// Provides access to a Template's Action Containers.
        ///// </summary>
        ///// <returns>
        ///// An instance of the ICollection&lt;<see cref="T:DevExpress.ExpressApp.Templates.IActionContainer" />&gt; collection that contains the current Template's Action Containers.
        ///// </returns>
        //public ICollection<IActionContainer> GetContainers() => new IActionContainer[] { Navigation };

        ///// <summary>
        ///// Provides access to a Template's Action Container that contains the Actions with the <see cref="P:DevExpress.ExpressApp.Actions.ActionBase.Category" /> property set to Unspecified.
        ///// </summary>
        ///// <value>
        ///// An instance of the class that implement the <see cref="T:DevExpress.ExpressApp.Templates.IActionContainer" /> interface.
        ///// </value>
        ///// <exception cref="NotImplementedException"></exception>
        //IActionControlContainer IActionControlsSite.DefaultContainer => NavBarActionControlContainer;

        ///// <summary>
        ///// Gets the action controls.
        ///// </summary>
        ///// <value>
        ///// The action controls.
        ///// </value>
        //public IEnumerable<IActionControl> ActionControls => MenuBar.ActionControls;
        ///// <summary>
        ///// Gets the action containers.
        ///// </summary>
        ///// <value>
        ///// The action containers.
        ///// </value>
        //public IEnumerable<IActionControlContainer> ActionContainers => MenuBar.ActionContainers;

        ///// <summary>
        ///// Provides access to a Template's Action Container that contains the Actions with the <see cref="P:DevExpress.ExpressApp.Actions.ActionBase.Category" /> property set to Unspecified.
        ///// </summary>
        ///// <value>
        ///// An instance of the class that implement the <see cref="T:DevExpress.ExpressApp.Templates.IActionContainer" /> interface.
        ///// </value>
        //public IActionContainer DefaultContainer { get; }
        /// <summary>
        /// Sets the view.
        /// </summary>
        /// <param name="view">The view.</param>
        void IFrameTemplate.SetView(DevExpress.ExpressApp.View view)
        {
            viewSiteManager.SetView(view);
            RaiseViewChanged(view);
        }
 protected override void SynchronizeInfo(View view) {
     view.SaveModel();
 }
Ejemplo n.º 8
0
 protected override void SynchronizeInfo(View view)
 {
     view.SaveModel();
 }
 public override void SetView(DevExpress.ExpressApp.View view)
 {
     base.SetView(view);
     CurrentView = view;
 }
Ejemplo n.º 10
0
 protected override void OnViewChanged(DevExpress.ExpressApp.View view)
 {
     ViewSiteControl = VSC;
     base.OnViewChanged(view);
 }
 public override void SetView(DevExpress.ExpressApp.View view)
 {
     base.SetView(view);
     CurrentView = view;
 }
Ejemplo n.º 12
0
 protected override void OnViewChanged(DevExpress.ExpressApp.View view)
 {
 }