Gorgon
Show / Hide Table of Contents

Interface IVisualEditorContent

The view model for a visual content editor.

Inherited Members
IEditorContent.Clipboard
IEditorContent.ContentState
IEditorContent.File
IEditorContent.ContentType
IEditorContent.CloseContentCommand
IEditorContent.SaveContentCommand
IEditorContent.CommandContext
IEditorContent.FilesAreSelected
IViewModel.WaitPanelActivated
IViewModel.WaitPanelDeactivated
IViewModel.ProgressUpdated
IViewModel.ProgressDeactivated
IViewModel.NotifyPropertyChanged(string)
IViewModel.NotifyPropertyChanging(string)
IViewModel.NotifyAllPropertiesChanging()
IViewModel.NotifyAllPropertiesChanged()
IViewModel.Load()
IViewModel.Unload()
INotifyPropertyChanged.PropertyChanged
INotifyPropertyChanging.PropertyChanging
IUndoHandler.UndoCommand
IUndoHandler.RedoCommand
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public interface IVisualEditorContent : IEditorContent, IViewModel, INotifyPropertyChanged, INotifyPropertyChanging, IUndoHandler
Remarks

When implementing a view model for a VisualContentBaseControl, the class must implement this interface to represent content data.

Properties

| Edit this page View Source

CurrentPanel

Property to set or return the currently active hosted panel.

Declaration
IHostedPanelViewModel CurrentPanel { get; set; }
Property Value
Type Description
IHostedPanelViewModel
Remarks

This property holds the view model for the currently active hosted panel which can be used for parameters for an operation on the content. Setting this value will bring the panel up on the UI and setting it to null will remove it.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author