2020-04-20 11:54:25 +03:00
|
|
|
// Copyright (c) Microsoft Corporation
|
2019-12-12 13:44:06 -08:00
|
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
|
|
|
|
|
namespace FancyZonesEditor
|
|
|
|
|
{
|
|
|
|
|
public class SplitEventArgs : EventArgs
|
|
|
|
|
{
|
|
|
|
|
public SplitEventArgs()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-10 13:22:19 +01:00
|
|
|
public SplitEventArgs(Orientation orientation, int offset)
|
2019-12-12 13:44:06 -08:00
|
|
|
{
|
|
|
|
|
Orientation = orientation;
|
|
|
|
|
Offset = offset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Orientation Orientation { get; }
|
|
|
|
|
|
2021-03-10 13:22:19 +01:00
|
|
|
public int Offset { get; }
|
2019-12-12 13:44:06 -08:00
|
|
|
}
|
|
|
|
|
|
2022-02-22 20:52:34 +01:00
|
|
|
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix (Causes warning in another class if fixed)
|
2019-12-12 13:44:06 -08:00
|
|
|
public delegate void SplitEventHandler(object sender, SplitEventArgs args);
|
2022-02-22 20:52:34 +01:00
|
|
|
#pragma warning restore CA1711 // Identifiers should not have incorrect suffix
|
2019-12-12 13:44:06 -08:00
|
|
|
}
|