Class DiagramControl

GoDiagram®
v10.0.11
by Northwoods Software®

A Control that provides display and editing of Diagrams.

Inheritance
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
TemplatedControl
DiagramControl
Implements
IDataContextProvider
ILogical
IThemeVariantHost
IResourceHost
IResourceNode
IStyleHost
ISetLogicalParent
ISetInheritanceParent
IStyleable
IInputElement
IDataTemplateHost
INamed
ISetterValue
Namespace: Northwoods.Go.Avalonia
Assembly: Northwoods.GoDiagram.Avalonia.dll
Syntax
public class DiagramControl : TemplatedControl, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, IInputElement, IDataTemplateHost, INamed, ISetterValue

Constructors

DiagramControl()

Constructs a new DiagramControl.

Declaration
public DiagramControl()

Fields

AllowClipboardProperty

Identifies the AllowClipboard direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowClipboardProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowCopyProperty

Identifies the AllowCopy direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowCopyProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowDeleteProperty

Identifies the AllowDelete direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowDeleteProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowDragOutProperty

Identifies the AllowDragOut direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowDragOutProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowDropProperty

Identifies the AllowDrop direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowDropProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowGroupProperty

Identifies the AllowGroup direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowGroupProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowHorizontalScrollProperty

Identifies the AllowHorizontalScroll direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowHorizontalScrollProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowInsertProperty

Identifies the AllowInsert direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowInsertProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowLinkProperty

Identifies the AllowLink direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowLinkProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowMoveProperty

Identifies the AllowMove direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowMoveProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowRelinkProperty

Identifies the AllowRelink direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowRelinkProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowReshapeProperty

Identifies the AllowReshape direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowReshapeProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowResizeProperty

Identifies the AllowResize direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowResizeProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowRotateProperty

Identifies the AllowRotate direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowRotateProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowSelectProperty

Identifies the AllowSelect direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowSelectProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowTextEditProperty

Identifies the AllowTextEdit direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowTextEditProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowUndoProperty

Identifies the AllowUndo direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowUndoProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowUngroupProperty

Identifies the AllowUngroup direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowUngroupProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowVerticalScrollProperty

Identifies the AllowVerticalScroll direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowVerticalScrollProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

AllowZoomProperty

Identifies the AllowZoom direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> AllowZoomProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

HasHorizontalScrollbarProperty

Identifies the HasHorizontalScrollbar direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> HasHorizontalScrollbarProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

HasVerticalScrollbarProperty

Identifies the HasVerticalScrollbar direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> HasVerticalScrollbarProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

IsEnabledProperty

Identifies the IsEnabled direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> IsEnabledProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

IsReadOnlyProperty

Identifies the IsReadOnly direct property.

Declaration
public static readonly DirectProperty<DiagramControl, bool> IsReadOnlyProperty
Field Value
Type Description
DirectProperty<DiagramControl, bool>

Properties

AllowClipboard

Pass-through property for AllowClipboard.

Declaration
public bool AllowClipboard { get; set; }
Property Value
Type Description
bool

AllowCopy

Pass-through property for AllowCopy.

Declaration
public bool AllowCopy { get; set; }
Property Value
Type Description
bool

AllowDelete

Pass-through property for AllowDelete.

Declaration
public bool AllowDelete { get; set; }
Property Value
Type Description
bool

AllowDragOut

Pass-through property for AllowDragOut.

Declaration
public bool AllowDragOut { get; set; }
Property Value
Type Description
bool

AllowDrop

Pass-through property for AllowDrop.

Declaration
public bool AllowDrop { get; set; }
Property Value
Type Description
bool

AllowGroup

Pass-through property for AllowGroup.

Declaration
public bool AllowGroup { get; set; }
Property Value
Type Description
bool

AllowHorizontalScroll

Pass-through property for AllowHorizontalScroll.

Declaration
public bool AllowHorizontalScroll { get; set; }
Property Value
Type Description
bool

AllowInsert

Pass-through property for AllowInsert.

Declaration
public bool AllowInsert { get; set; }
Property Value
Type Description
bool

Pass-through property for AllowLink.

Declaration
public bool AllowLink { get; set; }
Property Value
Type Description
bool

AllowMove

Pass-through property for AllowMove.

Declaration
public bool AllowMove { get; set; }
Property Value
Type Description
bool

Pass-through property for AllowRelink.

Declaration
public bool AllowRelink { get; set; }
Property Value
Type Description
bool

AllowReshape

Pass-through property for AllowReshape.

Declaration
public bool AllowReshape { get; set; }
Property Value
Type Description
bool

AllowResize

Pass-through property for AllowResize.

Declaration
public bool AllowResize { get; set; }
Property Value
Type Description
bool

AllowRotate

Pass-through property for AllowRotate.

Declaration
public bool AllowRotate { get; set; }
Property Value
Type Description
bool

AllowSelect

Pass-through property for AllowSelect.

Declaration
public bool AllowSelect { get; set; }
Property Value
Type Description
bool

AllowTextEdit

Pass-through property for AllowTextEdit.

Declaration
public bool AllowTextEdit { get; set; }
Property Value
Type Description
bool

AllowUndo

Pass-through property for AllowUndo.

Declaration
public bool AllowUndo { get; set; }
Property Value
Type Description
bool

AllowUngroup

Pass-through property for AllowUngroup.

Declaration
public bool AllowUngroup { get; set; }
Property Value
Type Description
bool

AllowVerticalScroll

Pass-through property for AllowVerticalScroll.

Declaration
public bool AllowVerticalScroll { get; set; }
Property Value
Type Description
bool

AllowZoom

Pass-through property for AllowZoom.

Declaration
public bool AllowZoom { get; set; }
Property Value
Type Description
bool

HasHorizontalScrollbar

Pass-through property for HasHorizontalScrollbar.

Declaration
public bool HasHorizontalScrollbar { get; set; }
Property Value
Type Description
bool

HasVerticalScrollbar

Pass-through property for HasVerticalScrollbar.

Declaration
public bool HasVerticalScrollbar { get; set; }
Property Value
Type Description
bool

IsEnabled

Pass-through property for IsEnabled.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
bool

IsReadOnly

Pass-through property for IsReadOnly.

Declaration
public bool IsReadOnly { get; set; }
Property Value
Type Description
bool

Methods

Cleanup()

Clean up various event listeners and resources associated with this DiagramControl and its Diagram.

The DiagramControl will no longer be usabled after calling this, so only call this method if you are sure you're done with it.

Declaration
public void Cleanup()
Remarks

This cleanup normally occurs when the TopLevel holding the control is closed.

Implements

Avalonia.IDataContextProvider
Avalonia.LogicalTree.ILogical
Avalonia.Styling.IThemeVariantHost
Avalonia.Controls.IResourceHost
Avalonia.Controls.IResourceNode
Avalonia.Styling.IStyleHost
Avalonia.Controls.ISetLogicalParent
Avalonia.Controls.ISetInheritanceParent
Avalonia.Styling.IStyleable
Avalonia.Input.IInputElement
Avalonia.Controls.Templates.IDataTemplateHost
Avalonia.INamed
Avalonia.Styling.ISetterValue