static void OnControllerChanged(BindableObject b, LoadingLayoutController oldC, LoadingLayoutController newC) { if (newC == null) { return; } newC.LoadingTemplate = GetLoadingTemplate(b); newC.RepeatCount = GetRepeatCount(b); // TODO: Figure out if a selector makes sense... newC.LoadingTemplateSelector = GetLoadingTemplateSelector(b); }
static void SetLoadingLayoutController(BindableObject b, LoadingLayoutController value) { b.SetValue(LoadingLayoutControllerProperty, value); }