コード例 #1
0
//        internal UiaGridPattern(AutomationElement el, SafePatternHandle hPattern, bool cached) : base(el, hPattern)
//        {
//            this._hPattern = hPattern;
//            this._cached = cached;
//        }

        public virtual IUiElement GetItem(int row, int column)
        {
            // SafeNodeHandle hnode = UiaCoreApi.GridPattern_GetItem(this._hPattern, row, column);
            // return AutomationElement.Wrap(hnode);
            return(AutomationFactory.GetUiElement(_gridPattern.GetItem(row, column)));
        }