AZ
Size: a a a
AZ
T
T
AZ
KA
T
AZ
T
M
T
KA
AZ
D
public abstract class BaseProperty : MvxNotifyPropertyChanged {текст не помещается как сделать шыре/выше MvxNotifyPropertyChanged?
public abstract void Refresh();
}
public class ActionProperty : BaseProperty {
private Action _action = null;
public string Title { get; set; }
public string IconName { get; set; }
private IMvxCommand _executeCommand = null;
public IMvxCommand ExecuteCommand => _executeCommand ?? (_executeCommand = new MvxCommand(ExecuteAction));
public ActionProperty(string title, Action action) {
Title = title;
_action = action;
}
public ActionProperty WithIcon(string iconName) {
IconName = iconName;
return this;
}
public override void Refresh() { }
private void ExecuteAction() {
_action?.Invoke();
}
}
НО
VF
DP
SP
SP
VF
DP