///
        protected override bool IsControlElementCore()
        {
            AutomationPeer wrapperPeer = GetWrapperPeer();

            if (wrapperPeer != null)
            {
                return(wrapperPeer.IsControlElement());
            }

            return(true);
        }
Пример #2
0
        // Token: 0x0600263E RID: 9790 RVA: 0x000B66E4 File Offset: 0x000B48E4
        protected override bool IsControlElementCore()
        {
            AutomationPeer wrapperPeer = this.WrapperPeer;

            if (wrapperPeer != null)
            {
                return(wrapperPeer.IsControlElement());
            }
            this.ThrowElementNotAvailableException();
            return(true);
        }
Пример #3
0
 private static object IsControlElement(AutomationPeer peer)         {   return peer.IsControlElement(); }
        // Token: 0x06002598 RID: 9624 RVA: 0x000B4B00 File Offset: 0x000B2D00
        protected override bool IsControlElementCore()
        {
            AutomationPeer owningCellPeer = this.OwningCellPeer;

            return(owningCellPeer == null || owningCellPeer.IsControlElement());
        }
Пример #5
0
        /// <summary>Gets a value that indicates whether the <see cref="T:System.Windows.UIElement" /> that is associated with this <see cref="T:System.Windows.Automation.Peers.ItemAutomationPeer" /> is understood by the end user as interactive. </summary>
        /// <returns>
        ///     <see langword="true" /> if the element is a control; otherwise, <see langword="false" />.</returns>
        // Token: 0x06002720 RID: 10016 RVA: 0x000B9084 File Offset: 0x000B7284
        protected override bool IsControlElementCore()
        {
            AutomationPeer wrapperPeer = this.GetWrapperPeer();

            return(wrapperPeer == null || wrapperPeer.IsControlElement());
        }