Machinations

Public Member Functions | Public Attributes | Protected Member Functions | Properties | Events | List of all members
Machinations.WPF.PaintingCanvas Class Reference

PaintingCanvas More...

Inheritance diagram for Machinations.WPF.PaintingCanvas:

## Public Member Functions

void | InitializeComponent ()
| InitializeComponent More...
void | InitializeComponent ()
| InitializeComponent More...
void | InitializeComponent ()
| InitializeComponent More...
void | InitializeComponent ()
| InitializeComponent More...
| PaintingCanvas ()
void | Initialize (Graph graph, GraphControl graphControl, ComponentsSettings componentSettings)
void | Delete ()
void | Reset (Graph graph=null)
void | AddNodeView (INodeView< MachinationsNode > nodeView)
void | AddInOutView (InOutView view)
void | AddComponentView (UserComponentView componentView)
void | AddConnectionView (IConnectionView connectionView)
RenderTargetBitmap | CreateBitmap ()
void | SelectAll ()
void | UnselectObjects ()

## Public Attributes

Action | ComponentsChanged
Action | CreatedCardsChanged

## Protected Member Functions

virtual void | OnPropertyChanged ([CallerMemberName] string propertyName=null)

## Properties

double | CanvasWidth`[get, set]`
double | CanvasHeight`[get, set]`
List< IObjectView > | SelectedObjects`[get]`
object | InsertedObject`[get, set]`
int | ZoomValue`[get, set]`
int | ViewBoxHeight`[get]`
int | ViewBoxWidth`[get]`
bool | EditDisabled`[get, set]`
List< IUserComponentSchema > | Schemas`[get, set]`
MachinationsGraph | BaseGraph`[get, set]`
MachinationsGraph | AlwaysMachinationsGraph`[get]`
int | ScrollViewerWidth`[get, set]`
int | ScrollViewerHeight`[get, set]`

## Events

PropertyChangedEventHandler | PropertyChanged
Action< MachinationsNode > | ModelClick

## Detailed Description

PaintingCanvas

Interaction logic for RealCanvas.xaml class, that handles visual representation of elements by having their Views. also handles user interaction

## Constructor & Destructor Documentation

## ◆ PaintingCanvas()

Machinations.WPF.PaintingCanvas.PaintingCanvas | ( |  | ) |

## Member Function Documentation

## ◆ AddComponentView()

void Machinations.WPF.PaintingCanvas.AddComponentView | ( | UserComponentView | componentView | ) |

## ◆ AddConnectionView()

void Machinations.WPF.PaintingCanvas.AddConnectionView | ( | IConnectionView | connectionView | ) |

## ◆ AddInOutView()

void Machinations.WPF.PaintingCanvas.AddInOutView | ( | InOutView | view | ) |

## ◆ AddNodeView()

void Machinations.WPF.PaintingCanvas.AddNodeView | ( | INodeView< MachinationsNode > | nodeView | ) |

## ◆ CreateBitmap()

RenderTargetBitmap Machinations.WPF.PaintingCanvas.CreateBitmap | ( |  | ) |

## ◆ Delete()

void Machinations.WPF.PaintingCanvas.Delete | ( |  | ) |

## ◆ Initialize()

void Machinations.WPF.PaintingCanvas.Initialize | ( | Graph | graph,
|  | GraphControl | graphControl,
|  | ComponentsSettings | componentSettings
| ) |  |

## ◆ InitializeComponent() [1/4]

void Machinations.WPF.PaintingCanvas.InitializeComponent | ( |  | ) |

InitializeComponent

## ◆ InitializeComponent() [2/4]

void Machinations.WPF.PaintingCanvas.InitializeComponent | ( |  | ) |

InitializeComponent

## ◆ InitializeComponent() [3/4]

void Machinations.WPF.PaintingCanvas.InitializeComponent | ( |  | ) |

InitializeComponent

## ◆ InitializeComponent() [4/4]

void Machinations.WPF.PaintingCanvas.InitializeComponent | ( |  | ) |

InitializeComponent

## ◆ OnPropertyChanged()

virtual void Machinations.WPF.PaintingCanvas.OnPropertyChanged | ( | [CallerMemberName] string | propertyName = `null` | ) |

protected virtual

## ◆ Reset()

void Machinations.WPF.PaintingCanvas.Reset | ( | Graph | graph = `null` | ) |

## ◆ SelectAll()

void Machinations.WPF.PaintingCanvas.SelectAll | ( |  | ) |

## ◆ UnselectObjects()

void Machinations.WPF.PaintingCanvas.UnselectObjects | ( |  | ) |

## Member Data Documentation

## ◆ ComponentsChanged

Action Machinations.WPF.PaintingCanvas.ComponentsChanged

## ◆ CreatedCardsChanged

Action Machinations.WPF.PaintingCanvas.CreatedCardsChanged

## Property Documentation

## ◆ AlwaysMachinationsGraph

MachinationsGraph Machinations.WPF.PaintingCanvas.AlwaysMachinationsGraph

get

## ◆ BaseGraph

MachinationsGraph Machinations.WPF.PaintingCanvas.BaseGraph

get set

## ◆ CanvasHeight

double Machinations.WPF.PaintingCanvas.CanvasHeight

get set

## ◆ CanvasWidth

double Machinations.WPF.PaintingCanvas.CanvasWidth

get set

## ◆ EditDisabled

bool Machinations.WPF.PaintingCanvas.EditDisabled

get set

## ◆ InsertedObject

object Machinations.WPF.PaintingCanvas.InsertedObject

get set

## ◆ Schemas

List<IUserComponentSchema> Machinations.WPF.PaintingCanvas.Schemas

get set

## ◆ ScrollViewerHeight

int Machinations.WPF.PaintingCanvas.ScrollViewerHeight

get set

## ◆ ScrollViewerWidth

int Machinations.WPF.PaintingCanvas.ScrollViewerWidth

get set

## ◆ SelectedObjects

List<IObjectView> Machinations.WPF.PaintingCanvas.SelectedObjects

get

## ◆ ViewBoxHeight

int Machinations.WPF.PaintingCanvas.ViewBoxHeight

get

## ◆ ViewBoxWidth

int Machinations.WPF.PaintingCanvas.ViewBoxWidth

get

## ◆ ZoomValue

int Machinations.WPF.PaintingCanvas.ZoomValue

get set

## Event Documentation

## ◆ ModelClick

Action<MachinationsNode> Machinations.WPF.PaintingCanvas.ModelClick

## ◆ PropertyChanged

PropertyChangedEventHandler Machinations.WPF.PaintingCanvas.PropertyChanged

The documentation for this class was generated from the following files:

- obj/Debug/WPF/PaintingCanvas.g.cs
- obj/Debug/WPF/PaintingCanvas.g.i.cs
- WPF/PaintingCanvas.xaml.cs