コード例 #1
0
        public static FrameworkElement ToFrameworkElement(this IRemoteElement remotedElement)
        {
            INativeHandleContract nativeHandleContractAdapter = new NativeHandleContractAdapter(remotedElement);

            return FrameworkElementAdapters.ContractToViewAdapter(nativeHandleContractAdapter);
        }
コード例 #2
0
        public static FrameworkElement ToFrameworkElement(this IRemoteElement remotedElement)
        {
            INativeHandleContract nativeHandleContractAdapter = new NativeHandleContractAdapter(remotedElement);

            return(FrameworkElementAdapters.ContractToViewAdapter(nativeHandleContractAdapter));
        }