{"id":2250,"date":"2024-10-17T13:12:55","date_gmt":"2024-10-17T13:12:55","guid":{"rendered":"http:\/\/localhost:10003\/?p=2250"},"modified":"2025-08-04T13:55:31","modified_gmt":"2025-08-04T13:55:31","slug":"demarrer-avec-xceed-datagrid-pour-wpf","status":"publish","type":"post","link":"https:\/\/xceed.com\/fr\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/","title":{"rendered":"D\u00e9marrer avec Xceed DataGrid pour WPF"},"content":{"rendered":"<p>En savoir plus sur&nbsp;<a href=\"http:\/\/xceed.com\/en\/our-products\/product\/datagrid-for-wpf\" target=\"_blank\" rel=\"noreferrer noopener\">Xceed DataGrid pour WPF<\/a><\/p>\n\n\n\n<p>Bienvenue dans cette nouvelle s\u00e9rie. Cette fois-ci, nous allons nous pencher sur la grille de donn\u00e9es Xceed DataGrid pour WPF.<\/p>\n\n\n\n<p>Nous commencerons doucement avec les bases, puis nous couvrirons diff\u00e9rents sujets et fonctionnalit\u00e9s pour apprendre \u00e0 tirer le meilleur parti de la grille de donn\u00e9es dans vos projets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration initiale<\/h2>\n\n\n\n<p>Commen\u00e7ons par cr\u00e9er un nouveau projet d'application WPF et ajoutons les r\u00e9f\u00e9rences aux assemblages dont nous aurons besoin.<\/p>\n\n\n\n<p>Il existe des assemblages pour les ThemePacks et pour les vues 3D, mais nous les garderons pour plus tard.<\/p>\n\n\n\n<p>Pour l'instant, nous n'ajouterons que les assemblages suivants :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Xeed DataGrid pour WPF<\/li>\n\n\n\n<li>Contr\u00f4les Xceed pour WPF<\/li>\n\n\n\n<li>Xceed.Wpf.DataGrid.Samples.SampleData<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Cartographie de l'espace de noms<\/h2>\n\n\n\n<p>Une fois les assemblages ajout\u00e9s \u00e0 notre nouveau projet, les namespace maps \u00e0 utiliser doivent \u00eatre d\u00e9clar\u00e9s.<\/p>\n\n\n\n<p>Dans XAML, cela se fait \u00e0 l'aide de l'attribut xmlns :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">xmlns:xcdg=\"http:\/\/schemas.xceed.com\/wpf\/xaml\/datagrid\"\n<\/code><\/pre>\n\n\n\n<p>Remarque : si le contr\u00f4le DataGridControl a \u00e9t\u00e9 ajout\u00e9 \u00e0 une surface de conception, l'attribut xmlns est automatiquement ajout\u00e9.<\/p>\n\n\n\n<p>La collection de sch\u00e9mas pour Xceed DataGrid for WPF contient de nombreux espaces de noms.&nbsp;<em>Utilisation<\/em>&nbsp;peuvent \u00eatre utilis\u00e9es pour cr\u00e9er des alias pour les espaces de noms que nous voulons utiliser dans notre projet.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">using Xceed.Wpf.DataGrid;\nusing Xceed.Wpf.DataGrid.Converters;\nusing Xceed.Wpf.DataGrid.Print;\nusing Xceed.Wpf.DataGrid.Stats;\nusing Xceed.Wpf.DataGrid.ValidationRules;\nusing Xceed.Wpf.DataGrid.Views;\nusing Xceed.Wpf.DataGrid.Views.Surfaces;\nusing Xceed.Wpf.Controls;\nusing Xceed.Wpf.DataGrid.ThemePack;\nusing Xceed.Wpf.DataGrid.Settings;\nusing Xceed.Wpf.DataGrid.Export;\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Reliure<\/h2>\n\n\n\n<p>Enfin, nous ajouterons une grille \u00e0 notre page ou fen\u00eatre. Les exemples pr\u00e9sent\u00e9s dans la documentation placent g\u00e9n\u00e9ralement la grille \u00e0 l'int\u00e9rieur d'une fen\u00eatre de type&nbsp;<em>Grille,<\/em>&nbsp;comme d\u00e9montr\u00e9 ci-dessous.<\/p>\n\n\n\n<p>Exemple 1 : comment cr\u00e9er une connexion \u00e0 la version Access de la base de donn\u00e9es Northwind et cr\u00e9er une propri\u00e9t\u00e9 nomm\u00e9e \"Orders\" \u00e0 laquelle la grille sera li\u00e9e.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">using System.Data.OleDb;\nusing System.Data;\nstatic App()\n{\n\tDataSet dataSet = new DataSet();\n\tstring mdbFile = @\"DataNorthwind.mdb\";\n\tstring connString = String.Format( \"Provider=Microsoft.ACE.OLEDB.12.0; Data Source={0}\", mdbFile );\n\tOleDbConnection conn = new OleDbConnection( connString );\n\tOleDbDataAdapter adapter = new OleDbDataAdapter();\n\tadapter.SelectCommand = new OleDbCommand( \"SELECT * FROM Orders;\", conn );\n\tadapter.Fill( dataSet, \"Orders\" );\n\tm_orders = dataSet.Tables&#91; \"Orders\" ];\n}\npublic static DataTable Orders\n{\n\tget\n\t{\n\t\treturn m_orders;\n\t}\n}\nprivate static DataTable m_orders;\n<\/code><\/pre>\n\n\n\n<p>Exemple 2 : comment lier une grille \u00e0 la table Orders, qui est r\u00e9cup\u00e9r\u00e9e par le biais de la propri\u00e9t\u00e9 Orders mise en \u0153uvre dans le code ci-dessus.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">\n&lt;Grid xmlns:xcdg=\"http:\/\/schemas.xceed.com\/wpf\/xaml\/datagrid\"&gt;\n\t&lt;Grid.Resources&gt;\n\t\t&lt;xcdg:DataGridCollectionViewSource x:Key=\"cvs_orders\"\n\t\t\tSource=\"{Binding Source={x:Static Application.Current},\n\t\t\tPath=Orders}\"\/&gt;\n\t&lt;\/Grid.Resources&gt;\n\t&lt;xcdg:DataGridControl x:Name=\"OrdersGrid\"\n\t\tItemsSource=\"{Binding Source={StaticResource cvs_orders}}\"\/&gt;\n&lt;\/Grid&gt;\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">dataGridControl.ItemsSource = new DataGridCollectionView( App.Orders.DefaultView );\n<\/code><\/pre>\n\n\n\n<p>Par d\u00e9faut, une grille prend toute la place dont elle a besoin ; par cons\u00e9quent, si elle n'est pas soumise \u00e0 une contrainte de taille, comme lorsqu'elle est plac\u00e9e dans une&nbsp;<em>StackPanel,<\/em>&nbsp;et qu'un grand nombre d'\u00e9l\u00e9ments de donn\u00e9es sont pr\u00e9sents, la virtualisation de l'interface utilisateur sera perdue, ce qui entra\u00eenera une perte de performance significative.<\/p>\n\n\n\n<p>Pour pr\u00e9server la virtualisation de l'interface utilisateur lorsqu'une grille est en mode&nbsp;<em>StackPanel,<\/em>&nbsp;les&nbsp;<em>Largeur maximale<\/em>&nbsp;et&nbsp;<em>MaxHeight<\/em>&nbsp;(ou&nbsp;<em>Largeur<\/em>&nbsp;et&nbsp;<em>Hauteur)<\/em>&nbsp;doit \u00eatre utilis\u00e9 pour contraindre la grille. En guise d'alternative, un&nbsp;<em>DockPanel<\/em>&nbsp;ou&nbsp;<em>Grille<\/em>&nbsp;peuvent \u00eatre utilis\u00e9s car ils imposent tous deux des contraintes de taille \u00e0 leurs \u00e9l\u00e9ments enfants.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Licences<\/h2>\n\n\n\n<p>La derni\u00e8re \u00e9tape consiste \u00e0 accorder une licence \u00e0 Xceed DataGrid for WPF en d\u00e9finissant le param\u00e8tre&nbsp;<em>Cl\u00e9 de licence<\/em>&nbsp;propri\u00e9t\u00e9.<\/p>\n\n\n\n<p>Il existe deux sc\u00e9narios possibles en mati\u00e8re d'octroi de licences :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Utilisation du mode essai.\n<ul class=\"wp-block-list\">\n<li>Toutes les fonctionnalit\u00e9s sont disponibles et peuvent \u00eatre \u00e9valu\u00e9es pendant la p\u00e9riode d'essai, apr\u00e8s quoi une exception sera lev\u00e9e. Pour utiliser ce mode, aucune cl\u00e9 de licence n'est n\u00e9cessaire.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Octroi d'une licence au composant avec une cl\u00e9 autre que celle de l'essai (commence par DGP)\n<ul class=\"wp-block-list\">\n<li>Les cl\u00e9s de licence du produit d\u00e9verrouillent en permanence l'ensemble des fonctionnalit\u00e9s du composant.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Note : la version de la cl\u00e9 de licence doit correspondre \u00e0 la version des assemblages.<\/p>\n\n\n\n<p>Le&nbsp;<em>Cl\u00e9 de licence<\/em>&nbsp;de la propri\u00e9t\u00e9&nbsp;<em>Licenci\u00e9<\/em>&nbsp;doit contenir une cl\u00e9 de licence valide avant que toute autre m\u00e9thode du composant Xceed ne soit appel\u00e9e. Si une cl\u00e9 de licence non valide ou une cl\u00e9 d'essai expir\u00e9e est utilis\u00e9e, ou si la licence est plac\u00e9e au mauvais endroit dans le code, une exception sera lev\u00e9e au moment de l'ex\u00e9cution.<\/p>\n\n\n\n<p>Il est recommand\u00e9 que le&nbsp;<em>Cl\u00e9 de licence<\/em>&nbsp;doit \u00eatre d\u00e9finie \u00e0 l'un des endroits suivants :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>L'emplacement pr\u00e9f\u00e9r\u00e9 pour d\u00e9finir la propri\u00e9t\u00e9 LicenseKey est la m\u00e9thode Application.OnSatartup.<\/li>\n\n\n\n<li>La propri\u00e9t\u00e9 LicenseKey peut \u00e9galement \u00eatre d\u00e9finie dans les \u00e9v\u00e9nements Window.Loaded ou Page.Loaded, \u00e0 condition que la page ou la fen\u00eatre de d\u00e9marrage soit connue et invariable.<\/li>\n<\/ul>\n\n\n\n<p>R\u00e9glage de la&nbsp;<em>Cl\u00e9 de licence<\/em>&nbsp;de la propri\u00e9t\u00e9&nbsp;<em>Licenci\u00e9<\/em>&nbsp;d\u00e9finie dans l'assembly Xceed.Wpf.DataGrid accordera automatiquement une licence aux classes de l'assembly Xceed.Wpf.Controls.<\/p>\n\n\n\n<p>Le code suivant montre comment d\u00e9finir l'option&nbsp;<em>Cl\u00e9 de licence<\/em>&nbsp;dans la surcharge de la m\u00e9thode Application.OnStartup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">protected override void OnStartup( StartupEventArgs e )\n{\n\tXceed.Wpf.DataGrid.Licenser.LicenseKey = \"DGP70-xxxxx-xxxxx-xxxx\";\n\tbase.OnStartup( e );\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Exemple<\/h2>\n\n\n\n<p>Bien qu'il soit possible de sp\u00e9cifier quelles propri\u00e9t\u00e9s d'\u00e9l\u00e9ments de la source de donn\u00e9es doivent \u00eatre incluses et quelles colonnes doivent \u00eatre affich\u00e9es, nous examinerons ces options plus tard. Pour cet exemple, nous laisserons la grille charger automatiquement toutes les propri\u00e9t\u00e9s d'\u00e9l\u00e9ments trouv\u00e9es dans la source de donn\u00e9es et cr\u00e9er toutes les colonnes correspondantes dans la grille de donn\u00e9es.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code data-no-translation=\"\">&lt;Window.Resources&gt;\n\t&lt;xcdg:DataGridCollectionViewSource x:Key=\"mySource\"\n\t\tAutoCreateItemProperties=\"True\"\n\t\tSource=\"{Binding Source={x:Static Application.Current}, Path=RecordData}\" \/&gt;\n&lt;\/Window.Resources&gt;\n\n&lt;Grid&gt;\n\t&lt;xcdg:DataGridControl x:Name=\"myGrid\"\n\t\tAutoCreateColumns=\"True\"\n\t\tItemsSource=\"{Binding Source={StaticResource mySource}}\" &gt;\n\t&lt;\/xcdg:DataGridControl&gt;\n&lt;\/Grid&gt;\n<\/code><\/pre>\n\n\n\n<p>Note : les deux&nbsp;<em>Propri\u00e9t\u00e9s de l'\u00e9l\u00e9ment AutoCreateItem<\/em>&nbsp;propri\u00e9t\u00e9 sur&nbsp;<em>DataGridCollectionViewSource,<\/em>&nbsp;et le&nbsp;<em>Cr\u00e9ation automatique de colonnes<\/em>&nbsp;propri\u00e9t\u00e9 sur&nbsp;<em>DataGridControl,<\/em>&nbsp;sont&nbsp;<strong>vrai<\/strong>&nbsp;par d\u00e9faut. S'ils n'avaient pas \u00e9t\u00e9 sp\u00e9cifi\u00e9s, le r\u00e9sultat final aurait \u00e9t\u00e9 le m\u00eame.<\/p>\n\n\n\n<p>Pour plus d'informations, veuillez vous r\u00e9f\u00e9rer \u00e0 la&nbsp;<a href=\"https:\/\/doc.xceed.com\/xceed-datagrid-for-wpf\/webframe.html#rootWelcome.html\" target=\"_blank\" rel=\"noreferrer noopener\">la documentation<\/a>.<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Bienvenue dans cette nouvelle s\u00e9rie. Cette fois-ci, nous allons nous pencher sur la grille de donn\u00e9es Xceed DataGrid pour WPF. Nous commencerons doucement avec les bases, puis nous couvrirons diff\u00e9rents sujets et fonctionnalit\u00e9s pour apprendre \u00e0 tirer le meilleur parti de la grille de donn\u00e9es dans vos projets.<\/p>","protected":false},"author":2,"featured_media":2238,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[141,60],"tags":[],"class_list":["post-2250","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all","category-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting started with Xceed DataGrid for WPF - Xceed<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xceed.com\/fr\/blog\/tutoriels\/demarrer-avec-xceed-datagrid-pour-wpf\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting started with Xceed DataGrid for WPF - Xceed\" \/>\n<meta property=\"og:description\" content=\"Welcome to this new series. This time we will look at the Xceed DataGrid for WPF. We will start slow with the basics, then cover various topics and features to learn how to make the most of the DataGrid\u00a0in your projects.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xceed.com\/fr\/blog\/tutoriels\/demarrer-avec-xceed-datagrid-pour-wpf\/\" \/>\n<meta property=\"og:site_name\" content=\"Xceed\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-17T13:12:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-04T13:55:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alain Jreij\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alain Jreij\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/\"},\"author\":{\"name\":\"Alain Jreij\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/person\\\/2d9169e6fd8ae4a8f58a9e1cc9a73778\"},\"headline\":\"Getting started with Xceed DataGrid for WPF\",\"datePublished\":\"2024-10-17T13:12:55+00:00\",\"dateModified\":\"2025-08-04T13:55:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/\"},\"wordCount\":760,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_DGP-1.png\",\"articleSection\":[\"All\",\"Tutorials\"],\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/\",\"url\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/\",\"name\":\"Getting started with Xceed DataGrid for WPF - Xceed\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_DGP-1.png\",\"datePublished\":\"2024-10-17T13:12:55+00:00\",\"dateModified\":\"2025-08-04T13:55:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#primaryimage\",\"url\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_DGP-1.png\",\"contentUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/blog_DGP-1.png\",\"width\":350,\"height\":350},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/xceed.com\\\/blog\\\/tutorials\\\/getting-started-with-xceed-datagrid-for-wpf\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/xceed.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting started with Xceed DataGrid for WPF\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/\",\"name\":\"Xceed\",\"description\":\"Provides tools for .NET, Windows Forms, WPF, Silverlight, and ASP.NET developers to create better applications.\",\"publisher\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/xceed.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#organization\",\"name\":\"Xceed\",\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/cropped-xceed-logo.png\",\"contentUrl\":\"https:\\\/\\\/xceed.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/cropped-xceed-logo.png\",\"width\":609,\"height\":150,\"caption\":\"Xceed\"},\"image\":{\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/xceed.com\\\/fr\\\/#\\\/schema\\\/person\\\/2d9169e6fd8ae4a8f58a9e1cc9a73778\",\"name\":\"Alain Jreij\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g\",\"caption\":\"Alain Jreij\"},\"url\":\"https:\\\/\\\/xceed.com\\\/fr\\\/blog\\\/author\\\/jreijaxceed-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"D\u00e9marrer avec Xceed DataGrid pour WPF - Xceed","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xceed.com\/fr\/blog\/tutoriels\/demarrer-avec-xceed-datagrid-pour-wpf\/","og_locale":"fr_CA","og_type":"article","og_title":"Getting started with Xceed DataGrid for WPF - Xceed","og_description":"Welcome to this new series. This time we will look at the Xceed DataGrid for WPF. We will start slow with the basics, then cover various topics and features to learn how to make the most of the DataGrid\u00a0in your projects.","og_url":"https:\/\/xceed.com\/fr\/blog\/tutoriels\/demarrer-avec-xceed-datagrid-pour-wpf\/","og_site_name":"Xceed","article_published_time":"2024-10-17T13:12:55+00:00","article_modified_time":"2025-08-04T13:55:31+00:00","og_image":[{"width":350,"height":350,"url":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png","type":"image\/png"}],"author":"Alain Jreij","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alain Jreij","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#article","isPartOf":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/"},"author":{"name":"Alain Jreij","@id":"https:\/\/xceed.com\/fr\/#\/schema\/person\/2d9169e6fd8ae4a8f58a9e1cc9a73778"},"headline":"Getting started with Xceed DataGrid for WPF","datePublished":"2024-10-17T13:12:55+00:00","dateModified":"2025-08-04T13:55:31+00:00","mainEntityOfPage":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/"},"wordCount":760,"commentCount":0,"publisher":{"@id":"https:\/\/xceed.com\/fr\/#organization"},"image":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#primaryimage"},"thumbnailUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png","articleSection":["All","Tutorials"],"inLanguage":"fr-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/","url":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/","name":"D\u00e9marrer avec Xceed DataGrid pour WPF - Xceed","isPartOf":{"@id":"https:\/\/xceed.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#primaryimage"},"image":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#primaryimage"},"thumbnailUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png","datePublished":"2024-10-17T13:12:55+00:00","dateModified":"2025-08-04T13:55:31+00:00","breadcrumb":{"@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#primaryimage","url":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png","contentUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/10\/blog_DGP-1.png","width":350,"height":350},{"@type":"BreadcrumbList","@id":"https:\/\/xceed.com\/blog\/tutorials\/getting-started-with-xceed-datagrid-for-wpf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xceed.com\/"},{"@type":"ListItem","position":2,"name":"Getting started with Xceed DataGrid for WPF"}]},{"@type":"WebSite","@id":"https:\/\/xceed.com\/fr\/#website","url":"https:\/\/xceed.com\/fr\/","name":"Xceed","description":"Fournit des outils aux d\u00e9veloppeurs .NET, Windows Forms, WPF, Silverlight et ASP.NET pour cr\u00e9er de meilleures applications.","publisher":{"@id":"https:\/\/xceed.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xceed.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":"Organization","@id":"https:\/\/xceed.com\/fr\/#organization","name":"Xceed","url":"https:\/\/xceed.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/xceed.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/04\/cropped-xceed-logo.png","contentUrl":"https:\/\/xceed.com\/wp-content\/uploads\/2024\/04\/cropped-xceed-logo.png","width":609,"height":150,"caption":"Xceed"},"image":{"@id":"https:\/\/xceed.com\/fr\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/xceed.com\/fr\/#\/schema\/person\/2d9169e6fd8ae4a8f58a9e1cc9a73778","name":"Alain Jreij","image":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87ff2d1efbe1a868809d8d554724877b76941f668176489a42238d867ab8bf06?s=96&d=mm&r=g","caption":"Alain Jreij"},"url":"https:\/\/xceed.com\/fr\/blog\/author\/jreijaxceed-com\/"}]}},"_links":{"self":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts\/2250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/comments?post=2250"}],"version-history":[{"count":0,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/posts\/2250\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/media\/2238"}],"wp:attachment":[{"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/media?parent=2250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/categories?post=2250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xceed.com\/fr\/wp-json\/wp\/v2\/tags?post=2250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}