25 references to RefreshView
Microsoft.Maui.Controls (20)
Hosting\AppHostBuilderExtensions.cs (2)
107
handlersCollection.AddHandler<
RefreshView
, RefreshViewHandler>();
258
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)
12
public partial class RefreshView : ContentView, IElementConfiguration<
RefreshView
>, IRefreshView, ICommandElement
14
readonly Lazy<PlatformConfigurationRegistry<
RefreshView
>> _platformConfigurationRegistry;
25
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
RefreshView
>>(() => new PlatformConfigurationRegistry<
RefreshView
>(this));
30
BindableProperty.Create(nameof(IsRefreshing), typeof(bool), typeof(
RefreshView
), false, BindingMode.TwoWay, coerceValue: OnIsRefreshingPropertyCoerced, propertyChanged: OnIsRefreshingPropertyChanged);
39
var
refreshView = (
RefreshView
)bindable;
46
RefreshView
view = (
RefreshView
)bindable;
71
BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(
RefreshView
),
87
typeof(
RefreshView
),
100
BindableProperty.Create(nameof(RefreshColor), typeof(Color), typeof(
RefreshView
), null);
110
public IPlatformElementConfiguration<T,
RefreshView
> On<T>() where T : IConfigPlatform
Microsoft.Maui.Controls.Compatibility (5)
iOS\Renderers\RefreshViewRenderer.cs (5)
12
public class RefreshViewRenderer : ViewRenderer<
RefreshView
, UIView>, IEffectControlProvider
30
Element.SetValueFromRenderer(
RefreshView
.IsRefreshingProperty, _isRefreshing);
54
protected override void OnElementChanged(ElementChangedEventArgs<
RefreshView
> e)
88
else if (e.PropertyName ==
RefreshView
.IsRefreshingProperty.PropertyName)
90
else if (e.IsOneOf(
RefreshView
.RefreshColorProperty, VisualElement.BackgroundColorProperty))