When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call
System.Windows.Controls.Control.ApplyTemplate
.
Returns class-specific
System.Windows.Automation.Peers.AutomationPeer
implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific
System.Windows.Automation.Peers.AutomationPeer
implementation.
Called before the
System.Windows.UIElement.MouseWheel
event occurs to provide handling for the event in a derived class without attaching a delegate.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System.Windows.Input.MouseWheelEventArgs
A
System.Windows.Input.MouseWheelEventArgs
that contains the event data.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
Element used to display the specified item.