/// <summary>
        /// 获取当前绑定的控件的状态对象
        /// </summary>
        /// <param name="controlType">控件类型</param>
        /// <returns>返回控件属性对象</returns>
        /// <remarks>
        /// 获取当前绑定的控件的状态对象
        /// </remarks>
        public PagerBoundControlStatus GetPagerBoundControl(Type controlType)
        {
            PagerBoundControlStatus pbControl = new PagerBoundControlStatus();

			pbControl.DataListControlType  = this.GetBoundControlMode(controlType);
            pbControl.IsPagedControl = this.GetIsPagedControl(pbControl.DataListControlType );
            pbControl.IsDataSourceControl = this.GetIsDataSourceControl(pbControl.DataListControlType);

            return pbControl;            
        }
示例#2
0
        /// <summary>
        /// 获取当前绑定的控件的状态对象
        /// </summary>
        /// <param name="controlType">控件类型</param>
        /// <returns>返回控件属性对象</returns>
        /// <remarks>
        /// 获取当前绑定的控件的状态对象
        /// </remarks>
        public PagerBoundControlStatus GetPagerBoundControl(Type controlType)
        {
            PagerBoundControlStatus pbControl = new PagerBoundControlStatus();

            pbControl.DataListControlType = this.GetBoundControlMode(controlType);
            pbControl.IsPagedControl      = this.GetIsPagedControl(pbControl.DataListControlType);
            pbControl.IsDataSourceControl = this.GetIsDataSourceControl(pbControl.DataListControlType);

            return(pbControl);
        }