Windows-powershell / PowerShell-master /src /Microsoft.Management.UI.Internal /ManagementList /CommonControls /ExpanderButton.Generated.cs
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| using System.ComponentModel; | |
| using System.Windows; | |
| namespace Microsoft.Management.UI.Internal | |
| { | |
| /// <summary> | |
| /// Represents a toggle button used to expand or collapse elements. | |
| /// </summary> | |
| [] | |
| partial class ExpanderButton | |
| { | |
| // | |
| // CreateAutomationPeer | |
| // | |
| /// <summary> | |
| /// Create an instance of the AutomationPeer. | |
| /// </summary> | |
| /// <returns> | |
| /// An instance of the AutomationPeer. | |
| /// </returns> | |
| protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer() | |
| { | |
| return new ExpanderButtonAutomationPeer(this); | |
| } | |
| } | |
| } | |