Recovered from decompiled OpenMaui.Controls.Linux.dll: - SkiaShell.cs: FlyoutHeader, FlyoutFooter, scroll support (918 -> 1325 lines) - X11Window.cs: Cursor support (XCreateFontCursor, XDefineCursor) - All handlers with dark mode support - All services with latest implementations - LinuxApplication with theme change handling
26 lines
432 B
C#
26 lines
432 B
C#
using System;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class DragEventArgs : EventArgs
|
|
{
|
|
public DragData Data { get; }
|
|
|
|
public int X { get; }
|
|
|
|
public int Y { get; }
|
|
|
|
public bool Accepted { get; set; }
|
|
|
|
public DragAction AllowedAction { get; set; }
|
|
|
|
public DragAction AcceptedAction { get; set; } = DragAction.Copy;
|
|
|
|
public DragEventArgs(DragData data, int x, int y)
|
|
{
|
|
Data = data;
|
|
X = x;
|
|
Y = y;
|
|
}
|
|
}
|