Gorgon
Show / Hide Table of Contents

Interface IClipboardHandler

Defines an interface that can handle clipboard functionality.

Inherited Members
INotifyPropertyChanged.PropertyChanged
INotifyPropertyChanging.PropertyChanging
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public interface IClipboardHandler : INotifyPropertyChanged, INotifyPropertyChanging

Properties

| Edit this page View Source

ClearCommand

Property to return the command used to clear the clipboard.

Declaration
IEditorCommand<object> ClearCommand { get; }
Property Value
Type Description
IEditorCommand<object>
| Edit this page View Source

CopyDataCommand

Property to return the command used to copy data into the clipboard.

Declaration
IEditorCommand<object> CopyDataCommand { get; }
Property Value
Type Description
IEditorCommand<object>
| Edit this page View Source

GetClipboardDataTypeCommand

Property to return the command that returns the type of data present on the clipboard (if any).

Declaration
IEditorCommand<GetClipboardDataTypeArgs> GetClipboardDataTypeCommand { get; }
Property Value
Type Description
IEditorCommand<GetClipboardDataTypeArgs>
| Edit this page View Source

HasData

Property to return whether the clipboard has data or not.

Declaration
bool HasData { get; }
Property Value
Type Description
bool
| Edit this page View Source

PasteDataCommand

Property to return the command used to paste data from the clipboard.

Declaration
IEditorAsyncCommand<object> PasteDataCommand { get; }
Property Value
Type Description
IEditorAsyncCommand<object>

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