20 references to RefreshView
Microsoft.Maui.Controls (20)
Hosting\AppHostBuilderExtensions.cs (2)
107
handlersCollection.AddHandler<
RefreshView
, RefreshViewHandler>();
265
RefreshView
.RemapForControls();
PlatformConfiguration\WindowsSpecific\RefreshView.cs (5)
4
using FormsElement = Maui.Controls.
RefreshView
;
18
public static readonly BindableProperty RefreshPullDirectionProperty = BindableProperty.Create("RefreshPullDirection", typeof(RefreshPullDirection), typeof(
FormsElement
), RefreshPullDirection.TopToBottom);
27
public static RefreshPullDirection GetRefreshPullDirection(this IPlatformElementConfiguration<Windows,
FormsElement
> config)
39
public static IPlatformElementConfiguration<Windows,
FormsElement
> SetRefreshPullDirection(
40
this IPlatformElementConfiguration<Windows,
FormsElement
> config, RefreshPullDirection value)
RefreshView\RefreshView.cs (13)
15
public partial class RefreshView : ContentView, IElementConfiguration<
RefreshView
>, IRefreshView, ICommandElement
17
readonly Lazy<PlatformConfigurationRegistry<
RefreshView
>> _platformConfigurationRegistry;
28
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
RefreshView
>>(() => new PlatformConfigurationRegistry<
RefreshView
>(this));
33
BindableProperty.Create(nameof(IsRefreshing), typeof(bool), typeof(
RefreshView
), false, BindingMode.TwoWay, coerceValue: OnIsRefreshingPropertyCoerced, propertyChanged: OnIsRefreshingPropertyChanged);
42
var
refreshView = (
RefreshView
)bindable;
49
RefreshView
view = (
RefreshView
)bindable;
74
BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(
RefreshView
),
90
typeof(
RefreshView
),
103
BindableProperty.Create(nameof(RefreshColor), typeof(Color), typeof(
RefreshView
), null);
113
public IPlatformElementConfiguration<T,
RefreshView
> On<T>() where T : IConfigPlatform