mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
36 lines
722 B
C#
36 lines
722 B
C#
using System;
|
|
using Stylet;
|
|
|
|
namespace Artemis.UI.Screens.Module.ProfileEditor.Visualization
|
|
{
|
|
public abstract class CanvasViewModel : PropertyChangedBase, IDisposable
|
|
{
|
|
private double _x;
|
|
private double _y;
|
|
|
|
public double X
|
|
{
|
|
get => _x;
|
|
set => SetAndNotify(ref _x, value);
|
|
}
|
|
|
|
public double Y
|
|
{
|
|
get => _y;
|
|
set => SetAndNotify(ref _y, value);
|
|
}
|
|
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Dispose(true);
|
|
GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
} |