public override void ReCheckPageDependant() { FormDrawableObject drawableParent = Parent as FormDrawableObject; if (drawableParent == null) { return; } drawableParent.ReCheckPageDependant(); }
public override void ReCheckPageDependant() { bool oldPageDependant = IsPageDependant; isPageDependant = Children.Cast <FormDrawableObject> ().Any(drawable => drawable.IsPageDependant); if (isPageDependant == oldPageDependant) { return; } FormDrawableObject drawableParent = Parent as FormDrawableObject; if (drawableParent != null) { drawableParent.ReCheckPageDependant(); } }
public override void ReCheckPageDependant() { if (isPageDependant == SourceIsPageVariable) { return; } FormDrawableObject drawableParent = Parent as FormDrawableObject; if (drawableParent == null) { return; } isPageDependant = SourceIsPageVariable; drawableParent.ReCheckPageDependant(); }