Files
PowerToys/src/modules/fancyzones/editor/FancyZonesEditor/SplitEventArgs.cs

31 lines
892 B
C#
Raw Normal View History

// 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()
{
}
public SplitEventArgs(Orientation orientation, int offset)
2019-12-12 13:44:06 -08:00
{
Orientation = orientation;
Offset = offset;
}
public Orientation Orientation { get; }
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
}