Пример #1
0
        static void OnControllerChanged(BindableObject b, StateLayoutController oldC, StateLayoutController newC)
        {
            if (newC == null)
            {
                return;
            }

            newC.LoadingTemplate = GetLoadingTemplate(b);
            newC.SavingTemplate  = GetSavingTemplate(b);
            newC.EmptyTemplate   = GetEmptyTemplate(b);
            newC.ErrorTemplate   = GetErrorTemplate(b);
            newC.SuccessTemplate = GetSuccessTemplate(b);
        }
Пример #2
0
 static void SetLayoutController(BindableObject b, StateLayoutController value)
 {
     b.SetValue(LayoutControllerProperty, value);
 }