ActivityDesigner.OnScroll(ScrollBar, Int32) Método
Definição
Notifica o ActivityDesigner quando um usuário altera a posição de rolagem.Notifies the ActivityDesigner when a user changes the scroll position.
protected:
virtual void OnScroll(System::Windows::Forms::ScrollBar ^ sender, int value);
protected virtual void OnScroll (System.Windows.Forms.ScrollBar sender, int value);
abstract member OnScroll : System.Windows.Forms.ScrollBar * int -> unit
override this.OnScroll : System.Windows.Forms.ScrollBar * int -> unit
Protected Overridable Sub OnScroll (sender As ScrollBar, value As Integer)
Parâmetros
- sender
- ScrollBar
O ScrollBar no qual o usuário alterou a posição.The ScrollBar on which the user changed position.
- value
- Int32
O novo valor de posição de rolagem.The new scroll position value.
Comentários
OnScroll Não forneça nenhum comportamento padrão.OnScroll provide no default behavior. Você deve substituí-lo em uma classe derivada de ActivityDesigner para fornecer lógica de processamento quando uma posição de rolagem for alterada.You must override it in a class that derives from ActivityDesigner to provide processing logic when a scroll position changes.