protected virtual void OnViewChanged(DevExpress.ExpressApp.View view) { if (ViewChanged != null) { ViewChanged(this, new TemplateViewChangedEventArgs(view)); } }
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); }
public void SetView(DevExpress.ExpressApp.View view) { }
/// <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));
///// <summary> ///// Provides access to a Template's Action Containers. ///// </summary> ///// <returns> ///// An instance of the ICollection<<see cref="T:DevExpress.ExpressApp.Templates.IActionContainer" />> 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(); }
public override void SetView(DevExpress.ExpressApp.View view) { base.SetView(view); CurrentView = view; }
protected override void OnViewChanged(DevExpress.ExpressApp.View view) { ViewSiteControl = VSC; base.OnViewChanged(view); }
protected override void OnViewChanged(DevExpress.ExpressApp.View view) { }