DataGrid for WPF and Silverlight - GrapeCity

ComponentOne

DataGrid for WPF and Silverlight

GrapeCity US

GrapeCity 201 South Highland Avenue, Suite 301 Pittsburgh, PA 15206 Tel: 1.800.858.2739 | 412.681.4343 Fax: 412.681.4384 Website: E-mail: us.sales@

Trademarks

The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc. All other trademarks used herein are the properties of their respective owners.

Warranty

ComponentOne warrants that the media on which the software is delivered is free from defects in material and workmanship, assuming normal use, for a period of 90 days from the date of purchase. If a defect occurs during this time, you may return the defective media to ComponentOne, along with a dated proof of purchase, and ComponentOne will replace it at no charge. After 90 days, you can obtain a replacement for the defective media by sending it and a check for $25 (to cover postage and handling) to ComponentOne.

Except for the express warranty of the original media on which the software is delivered is set forth here, ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the information contained in this manual is correct as of the time it was written. ComponentOne is not responsible for any errors or omissions. ComponentOne's liability is limited to the amount you paid for the product. ComponentOne is not liable for any special, consequential, or other damages for any reason.

Copying and Distribution

While you are welcome to make backup copies of the software for your own use and protection, you are not permitted to make copies for the use of anyone else. We put a lot of time and effort into creating this product, and we appreciate your support in seeing that it is used by licensed users only.

DataGrid for WPF and Silverlight

Table of Contents

DataGrid for WPF and Silverlight Overview Help with WPF and Silverlight Edition Data Grid Feature Comparison Matrix Getting Started Quick Start Step 1 of 4: Adding C1DataGrid to your Project Step 2 of 4: Creating the Data Model Step 3 of 4: Setting the ItemsSource Step 4 of 4: Running the Grid Application Class hierarchy Creating a C1DataGrid in Expression Blend Main Concepts and Properties DataGrid Features Add New Row Disable Adding New Rows Column and Row Resizing Disabling resizing of rows and columns Column Reordering Column Types Custom Columns Customizing Column Cell Content Custom Rows Customizing Row Cell Content Adding a Custom Row Adding Row Details Data Binding New Topic 4 Deferred Scrolling Defining Columns Generating Columns Editing Editing Cells Disabling Cell Editing Locking the Grid

1

5-6 6

6-9 9 9

9-10 10-11

11 11-13 13-14

14 14 14 14-15 15-16 16-17 17 17 17-18 18 18-20 20 20-23 23-24 24 24-25 25 25 25-26 26 26 26-27 27 27-28

DataGrid for WPF and Silverlight

Filtering Basic Column Filtering Filtering Columns Filter Row Filtering Full Text Grid Filtering Advanced Filtering Column Filter List Disabling Column Filtering Tab Filter List

Freezing Enabling Column Freezing Freezing Grid Rows

Grouping Showing the Grouping Area Grouping Columns Group Summaries

Keyboard and Mouse Navigation Keyboard Navigation Mouse Navigation Multiple Row Selection Custom Keyboard Navigation

Localizing the Application Adding Resource Files Adding Supported Cultures Setting the Current Culture

Row Details Row Details Template Disabling Row Details Toggling

Sorting Disabling Column Sorting

DataGrid Appearance C1DataGrid Themes Editing Templates and Styles Table Formatting Options Setting Row and Column Header Visibility Setting Grid Line Visibility

2

28 28 28-30 31 31-32 32 32 32-33 33 33-34 34-35 35-36 36 36-37 37-38 38-39 39 39-40 40-41 41 41-42 42 42-44 44 44-45 45 45 45-46 46-47 47 47 47-49 49-50 50 50-51 51

DataGrid for WPF and Silverlight

Setting New Row Visibility Setting Vertical and Horizontal Scrollbar Visibility Setting Row Details Visibility C1DataGrid Brushes C1DataGrid Clear Style C1DataGrid Template Parts Customizing Grid Appearance Changing the Grid's Background and Foreground Color Removing the Grid's Alternating Row Colors Changing the Grid's Mouse Hover Style Changing the Grid's Font Style Run-time Interaction Selection Mode Customizing Automatically Generated Columns DataGrid Samples Tutorials New Topic 5 Step 1 of 3: Creating the User Interface Step 2 of 3: Adding a Web Service Step 3 of 3: Connecting the Web Service New Topic 6 Creating a Master Detail View Step 1 of 3: Setting up the Master/Detail Grid Step 2 of 3: Adding a Data Source to the Project Step 3 of 3: Setting up Row Details Localizing the Grid Step 1 of 3: Setting up the Localized Grid Step 2 of 3: Adding a Resource File Step 3 of 3: Setting the Culture Binding the Grid to a WCF RIA Services Data Source Step 1 of 3: Creating the Application and Adding the Data Source Step 2 of 3: Adding the C1DataGrid Control 3 Implementing Stealth Paging Step 1 of 3: Creating the User Interface Step 2 of 3: Adding a Web Service

3

51 51-52

52 52-53 53-55 55-56

56 56-57

57 57-58 58-59

59 59-60 60-62

62 62 62 62-64 64-68 68-71 71 71-72 72-73 73 73-75 75 75-78 78-80 80-82 82 82-83 83-89 89-90 90 90-92 92-96

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download