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
23 lines
348 B
C#
23 lines
348 B
C#
using System;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class FileDialogResult
|
|
{
|
|
public bool Accepted { get; init; }
|
|
|
|
public string[] SelectedFiles { get; init; } = Array.Empty<string>();
|
|
|
|
public string? SelectedFile
|
|
{
|
|
get
|
|
{
|
|
if (SelectedFiles.Length == 0)
|
|
{
|
|
return null;
|
|
}
|
|
return SelectedFiles[0];
|
|
}
|
|
}
|
|
}
|