Share via


SplitterGrip.OnCreateAutomationPeer Method

Definition

Since this control can be only used with a mouse and cannot be reached via keyboard, prevent accessibility tools from interacting with this control. Setting the AutomationPeer to null prevents navigating to control using CapsLock + Left\Right.

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

Returns

Applies to