// Token: 0x0600258A RID: 9610 RVA: 0x000B4830 File Offset: 0x000B2A30
        protected override string GetHelpTextCore()
        {
            AutomationPeer owningCellPeer = this.OwningCellPeer;

            if (owningCellPeer != null)
            {
                return(owningCellPeer.GetHelpText());
            }
            this.ThrowElementNotAvailableException();
            return(string.Empty);
        }
Пример #2
0
        /// <summary>Gets the string that describes the functionality of the <see cref="T:System.Windows.UIElement" /> that corresponds to the data item in the <see cref="P:System.Windows.Controls.ItemsControl.Items" /> collection that is associated with this <see cref="T:System.Windows.Automation.Peers.ItemAutomationPeer" />. </summary>
        /// <returns>The help text.</returns>
        // Token: 0x06002723 RID: 10019 RVA: 0x000B90F4 File Offset: 0x000B72F4
        protected override string GetHelpTextCore()
        {
            AutomationPeer wrapperPeer = this.GetWrapperPeer();

            if (wrapperPeer != null)
            {
                return(wrapperPeer.GetHelpText());
            }
            this.ThrowElementNotAvailableException();
            return(string.Empty);
        }
        ///
        protected override string GetHelpTextCore()
        {
            AutomationPeer wrapperPeer = OwningCellPeer;

            if (wrapperPeer != null)
            {
                return(wrapperPeer.GetHelpText());
            }
            else
            {
                ThrowElementNotAvailableException();
            }

            return(string.Empty);
        }
Пример #4
0
 private static object GetHelpText(AutomationPeer peer)              {   return peer.GetHelpText();  }