diff options
Diffstat (limited to 'UVtools.WPF/Controls/Helpers.cs')
-rw-r--r-- | UVtools.WPF/Controls/Helpers.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/UVtools.WPF/Controls/Helpers.cs b/UVtools.WPF/Controls/Helpers.cs index 28ec99f..ca66103 100644 --- a/UVtools.WPF/Controls/Helpers.cs +++ b/UVtools.WPF/Controls/Helpers.cs @@ -65,6 +65,19 @@ namespace UVtools.WPF.Controls } }; + public static readonly List<FileDialogFilter> ScriptsFileFilter = new() + { + new FileDialogFilter + { + Name = "Script Files", + Extensions = new List<string> + { + "csx", + "cs", + } + } + }; + public static List<FileDialogFilter> ToAvaloniaFileFilter(List<KeyValuePair<string, List<string>>> data) { var result = new List<FileDialogFilter>(data.Capacity); |