Inheritance: System.Windows.Automation.Peers.ButtonAutomationPeer
Example #1
0
		protected override AutomationPeer OnCreateAutomationPeer ()
		{
			if (peer == null)
				peer = new SwitchingButtonAutomationPeer (this);

			return peer;
		}
Example #2
0
        protected override AutomationPeer OnCreateAutomationPeer()
        {
            if (peer == null)
            {
                peer = new SwitchingButtonAutomationPeer(this);
            }

            return(peer);
        }