/// <summary> /// An implementation of a predicate to select controls which are data controls, to be /// used as parameter for the 'GetControls' method. /// </summary> /// <param name="control">The control passed as parameter by the GetControl method.</param> /// <returns>The method returns true if the control is a data control. Otherwise it returns false.</returns> public static bool SelectDataControlPredicate(MgControlBase control) { return(control.isDataCtrl()); }