| 12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using InABox.Mobile;
- using Xamarin.Forms;
- using Xamarin.Forms.Xaml;
- using XF.Material.Forms.UI;
- using XF.Material.Forms.UI.Dialogs;
- namespace PRS.Mobile
- {
- [XamlCompilation(XamlCompilationOptions.Compile)]
- public partial class KanbanEditDocumentsView
- {
- public KanbanEditDocumentsView()
- {
- InitializeComponent();
- }
- public override void Refresh()
- {
- _images.ItemsSource = ViewModel?.Documents;
- _images.ParentID = ViewModel?.Item.ID ?? Guid.Empty;
- }
-
- public async Task<bool> AddImage<T,TOptions>(TOptions options)
- where T : MobileImageSource<T,TOptions>
- where TOptions: MobileImageOptions<T>, new()
- {
- return await _images.AddImage<T, TOptions, KanbanDocumentShell>(options);
- }
-
-
- }
- }
|