|
|
|
@ -82,4 +82,40 @@ public partial class MyAvatarView : ContentView
|
|
|
|
|
get => GetValue(NextCommandParameterProperty);
|
|
|
|
|
set => SetValue(NextCommandParameterProperty, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty InfoCommandProperty =
|
|
|
|
|
BindableProperty.Create("InfoCommand", typeof(ICommand), typeof(MyAvatarView), null);
|
|
|
|
|
|
|
|
|
|
public ICommand InfoCommand
|
|
|
|
|
{
|
|
|
|
|
get => (ICommand)GetValue(InfoCommandProperty);
|
|
|
|
|
set => SetValue(InfoCommandProperty, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty InfoCommandParameterProperty =
|
|
|
|
|
BindableProperty.Create("InfoCommandParameter", typeof(object), typeof(MyAvatarView), null);
|
|
|
|
|
|
|
|
|
|
public object InfoCommandParameter
|
|
|
|
|
{
|
|
|
|
|
get => GetValue(InfoCommandParameterProperty);
|
|
|
|
|
set => SetValue(InfoCommandParameterProperty, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty TapCommandProperty =
|
|
|
|
|
BindableProperty.Create("TapCommand", typeof(ICommand), typeof(MyAvatarView), null);
|
|
|
|
|
|
|
|
|
|
public ICommand TapCommand
|
|
|
|
|
{
|
|
|
|
|
get => (ICommand)GetValue(TapCommandProperty);
|
|
|
|
|
set => SetValue(TapCommandProperty, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty TapCommandParameterProperty =
|
|
|
|
|
BindableProperty.Create("TapCommandParameter", typeof(object), typeof(MyAvatarView), null);
|
|
|
|
|
|
|
|
|
|
public object TapCommandParameter
|
|
|
|
|
{
|
|
|
|
|
get => GetValue(TapCommandParameterProperty);
|
|
|
|
|
set => SetValue(TapCommandParameterProperty, value);
|
|
|
|
|
}
|
|
|
|
|
}
|