// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Windows.Automation.Peers;
using System.Windows.Controls;
namespace Microsoft.Management.UI.Internal
{
///
/// Represents a decorator that is always visible in the automation tree, indicating that its descendents belong to a logical group.
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")]
public class AutomationGroup : ContentControl
{
///
/// Returns the implementations for this control.
///
/// The implementations for this control.
protected override AutomationPeer OnCreateAutomationPeer()
{
return new ExtendedFrameworkElementAutomationPeer(this, AutomationControlType.Group, true);
}
}
}