Files
StockSharp/Studio/Core/Commands/ChartRemoveElementCommand.cs
T

25 lines
517 B
C#

namespace StockSharp.Studio.Core.Commands
{
using System;
using StockSharp.Xaml.Charting;
public class ChartRemoveElementCommand : BaseStudioCommand
{
public ChartArea Area { get; private set; }
public IChartElement Element { get; set; }
public ChartRemoveElementCommand(ChartArea area, IChartElement element)
{
if (area == null)
throw new ArgumentNullException("area");
if (element == null)
throw new ArgumentNullException("element");
Area = area;
Element = element;
}
}
}