Пример #1
0
        // Token: 0x06002633 RID: 9779 RVA: 0x000B649C File Offset: 0x000B469C
        protected override AutomationPeer GetLabeledByCore()
        {
            AutomationPeer wrapperPeer = this.WrapperPeer;

            if (wrapperPeer != null)
            {
                return(wrapperPeer.GetLabeledBy());
            }
            this.ThrowElementNotAvailableException();
            return(null);
        }
        // Token: 0x0600258D RID: 9613 RVA: 0x000B48B4 File Offset: 0x000B2AB4
        protected override AutomationPeer GetLabeledByCore()
        {
            AutomationPeer owningCellPeer = this.OwningCellPeer;

            if (owningCellPeer != null)
            {
                return(owningCellPeer.GetLabeledBy());
            }
            this.ThrowElementNotAvailableException();
            return(null);
        }
        ///
        protected override AutomationPeer GetLabeledByCore()
        {
            AutomationPeer wrapperPeer = OwningCellPeer;

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

            return(null);
        }
Пример #4
0
 private static object GetLabeledBy(AutomationPeer peer)             {   AutomationPeer byPeer = peer.GetLabeledBy(); return ElementProxy.StaticWrap(byPeer, peer);  }