Tim
3472510677
Minimize private API usages ( #14810 )
* Minimize private API usages
- AvaloniaLocator.Current shouldn't be used unless really needed.
- Add comments where not possible otherwise
* fix wrong if statements
2 years ago
Max Katz
df4189ce0e
Implement TopLevel.Launcher ( #14320 )
* Implement ILauncher
* Update dialogs page to include Launcher buttons
* Fix control catalog
* Add return comments
2 years ago
Emmanuel Hansen
ac91b14caf
set filename for both open file and open folder dialogs ( #14308 )
2 years ago
Julien Lebosquain
3fa13d3b64
Warning cleanup 2 ( #13696 )
2 years ago
Max Katz
1a798ff44c
Window-less Managed File Dialog ( #13683 )
* Update Avalonia.Controls.Platform.Dialogs apis
* Enable nullable on dialogs project
* Implement ManagedFileChooserOverwritePrompt with new styles, instead of hardcoding prompt creation
* Add BclMountedVolumeInfoProvider fallback
* Update samples page to include ShowOverwritePrompt
* ManagedStorageProvider with different window and popup implementations
* Extend ManagedFileDialogOptions
* Fix #8437 because I can
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
2 years ago
Max Katz
cd4bf7a02b
MacOS file type filter in native file dialog ( #12899 )
* Introduce IFilePickerFileTypes to have more control over file types in the native backend
* Update samples page for dialogs
* Rename to IAvnFilePickerFileTypes
* WIP
* Fix disabled popup
* Explicitly dispose AvnString and AvnStringArray + GetNSArrayOfStringsAndRelease
* Fix potential crash
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
2 years ago
affederaffe
d94c0670c8
Log DBus Exceptions
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Max Katz
5968830296
Update API, samples and BCL impl
3 years ago
Max Katz
104023bfc8
Remove specific data type methods from the IDataObject, add new Files format
3 years ago
Max Katz
e6b8914b7d
Rename TryGetFileFromPath-like method to end with Async suffix
3 years ago
Max Katz
49a6cbd5a6
Use polyfill for open file and directory dialogs
3 years ago
Max Katz
d1c329e819
Pass file extensions to the browser backend in the file picker
3 years ago
Max Katz
e975468e92
Remove unused CanOpenRead/CanOpenWrite
3 years ago
Max Katz
7cd51c9161
Update samples/ControlCatalog/Pages/DialogsPage.xaml.cs
3 years ago
Emmanuel Hansen
79b30658f1
add TopLevel.GetTopLevel api
3 years ago
Max Katz
37545cbeb1
IStorageProvider API updates
3 years ago
Steven Kirk
84abb69b61
Reinstated DialogsPage.
3 years ago
Steven Kirk
692c0c155d
Begin refactoring ItemsPresenter.
A lot still broken, in particular virtualization is completely removed.`ItemsPresenter` now no longer has an `Items` or `ItemTemplate` property; it detects when it's hosted in an `ItemsControl`. `IItemsPresenter` interface removed.
3 years ago
Giuseppe Lippolis
f63ed9cf6b
fix: Null Annotation
4 years ago
Max Katz
5a8c9f9c09
Use Async in naming
4 years ago
Max Katz
97a5a9e1f6
Add folder.GetItemsAsync API
4 years ago
Max Katz
e717cce7e8
Update headless implementations, managed and samples
4 years ago
Giuseppe Lippolis
2bf853aca9
fix some null annotation in ControlCatalog
4 years ago
Dan Walmsley
cea6bc27a0
Merge pull request #8238 from AvaloniaUI/fixes/disable-parent-chrome-buttons-when-modal-is-shown
OSX: Disable parent chrome buttons when modal is shown
4 years ago
Dan Walmsley
af237c6dd7
fix file dialog filter nullable annotation, and osx platform.
4 years ago
Luthfi Tri Atmaja
eefe009a81
update dialogs sample page
4 years ago
Max Katz
bd2e7d23ca
Update dialogs sample page
4 years ago
Lubomir Tetak
11c1543b5a
Handle default actions to prevent beeping sounds
4 years ago
Dariusz Komosinski
c24f65a5f7
Fix even more broken cases for closing child/dialog windows on win32.
5 years ago
Dariusz Komosinski
d69718ab61
Reimplement new child window support.
6 years ago
Nikita Tsukanov
2d80a0e293
Allow extra options for managed file dialogs
6 years ago
Nikita Tsukanov
2eca7bc08a
[GTK] Use gtk_file_chooser_set_filename for open dialogs
6 years ago
Nikita Tsukanov
bce28b3d35
Fixed InitialFileName for GTK-based file dialog
6 years ago
Dariusz Komosinski
764e7aff01
Initial refactor of win32 window.
6 years ago
Nikita Tsukanov
23fe70f5d5
[X11] Added support for filters in GTK file dialog
7 years ago
Steven Kirk
13aafcc540
Show dialog centered on owner.
7 years ago
Steven Kirk
9a2f828ba6
Modify DialogsPage to allow testing of startup location.
7 years ago
Nikita Tsukanov
db5d3aa854
[X11] Fixed maximize behavior for transient windows
7 years ago
Nikita Tsukanov
986d2e4d84
[OSX] Parent-modal dialogs
7 years ago
Nikita Tsukanov
5cd7c1f6f4
Reworked dialogs for GTK/Win32
7 years ago
Nikita Tsukanov
86e2a3e9b3
Pre-merge repo cleanup
7 years ago
Dan Walmsley
2758a5839e
add a modal window implementation
7 years ago
Nikita Tsukanov
39f57c38d4
Initial commit
Interop and PlatformThreadingInterface seem to be working, initial work on IWindowImpl
8 years ago
José Pedro
755531631e
Implemented three states on ToggleButton, CheckBox and RadioButton.
8 years ago
Nikita Tsukanov
c954a86607
[MONOMAC] Implemented maximize/unmaximize for borderless windows
9 years ago
Nikita Tsukanov
eddabf7d54
Added "System dialogs" page for ControlCatalog
9 years ago