Version

Copy and Paste Helper Methods

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. For help or questions on migrating your codebase to the XamDataGrid, please contact support.

Topic Overview

Purpose

This topic lists the copy-paste helper methods introduced with the Ultimate UI for WPF 2012 Volume 1 Release. For more details about the methods, see the Related Content.

In this topic

This topic contains the following sections:

Copy and Paste Helper Methods Reference

Introduction

The copy and paste helper methods facilitate the data copying and pasting in the xamGrid™ control.

Helper methods reference summary

The following table summarizes the purpose and functionality of the copy and paste helper methods.

Method Description

The ClipboardCopyingEventArgs object’s ValidateSelectedRectangle method is used in the ClipboardCopying event handler.

This copy helper method determines whether the selected region is valid for copying.

The ClipboardPastingEventArgs object’s PasteAsExcel method is used in the ClipboardPasting event handler.

This paste helper method pastes data in the xamGrid control.

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic demonstrates how you can paste copied data in the xamGrid control and handle errors that may occur when pasting data.

This topic demonstrates how you can verify that the end-user cell selection can be pasted correctly in a Microsoft® Excel® worksheet. Only a rectangular cells selection is accepted as a valid region.