public void ScrollLeft(float speed, bool ani) { if (_pageMode) SetPosX(_xPos - _pageSize.x * speed, ani); else SetPosX(_xPos - _scrollSpeed * speed, ani); }
void __arrowButton1Click(EventContext context) { context.StopPropagation(); if (_vertical) { _target.ScrollUp(); } else { _target.ScrollLeft(); } }