using System; using System.Collections.Generic; using System.Windows.Automation.Peers; using System.Windows.Automation.Provider; using System.Windows.Controls; using EGC = ExtendedGrid.Microsoft.Windows.Controls; namespace ExtendedGrid.Microsoft.Windows.Controls { /// /// AutomationPeer for DataGridDetailsPresenter /// public sealed class DataGridDetailsPresenterAutomationPeer : FrameworkElementAutomationPeer { #region Constructors /// /// AutomationPeer for DataGridDetailsPresenter /// /// DataGridDetailsPresenter public DataGridDetailsPresenterAutomationPeer(EGC.DataGridDetailsPresenter owner) : base(owner) { } #endregion #region AutomationPeer Overrides /// protected override string GetClassNameCore() { return this.Owner.GetType().Name; } /// protected override bool IsContentElementCore() { return false; } #endregion } }