Esempio n. 1
0
        internal sealed override bool ChangeVisibility(IElement child)
        {
            if (!base.ChangeVisibility(child))
            {
                VisibilityHelper.ChangeVisibility(this.children, (TElement)child);
            }

            return(true);
        }
        internal static bool ChangeVisibility(
            Func <IElement, bool> baseImpl, ObservableCollection <IElement> dynamicChildren, IElement child)
        {
            if (!baseImpl(child))
            {
                VisibilityHelper.ChangeVisibility(dynamicChildren, child);
            }

            return(true);
        }
Esempio n. 3
0
 internal override bool ChangeVisibility(IElement child)
 {
     VisibilityHelper.ChangeVisibility(this.observableChildren, child);
     return(base.ChangeVisibility(child));
 }