protected override void SetupGridView() { base.SetupGridView(); _autoScrollHelper = new LayoutViewAutoScrollHelper(XafLayoutView); XafLayoutView.TemplateCard = new LayoutViewCard(); XafLayoutView.CardMinSize = new Size(400, 200); XafLayoutView.ErrorMessages = ErrorMessages; }
public ScrollInfo(LayoutViewAutoScrollHelper owner, DevExpress.XtraGrid.Views.Layout.LayoutView view) { _owner = owner; _view = view; ScrollTimer = new Timer { Interval = 500 }; ScrollTimer.Tick += scrollTimer_Tick; }