{"id":37699,"date":"2024-11-01T09:59:42","date_gmt":"2024-11-01T09:59:42","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37699"},"modified":"2024-11-01T11:04:05","modified_gmt":"2024-11-01T11:04:05","slug":"wpf-development-list-control","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37699\/","title":{"rendered":"WPF Development, List Control"},"content":{"rendered":"<p>Windows Presentation Foundation (WPF) is part of the .NET framework and provides various UI elements and a rich user interface. Today, we aim to provide an in-depth understanding of list controls in WPF. List controls play a key role in displaying and manipulating data. In this article, we will explain the types of WPF list controls, how to use them, and provide practical examples step by step.<\/p>\n<h2>1. Types of List Controls<\/h2>\n<p>WPF has several types of list controls, each serving different purposes and functionalities. The main list controls are as follows:<\/p>\n<ul>\n<li><strong>ListBox<\/strong>: A control that shows a basic list, allowing users to select items with multiple selections available.<\/li>\n<li><strong>ComboBox<\/strong>: A lightweight control in the form of a dropdown list that allows users to choose items.<\/li>\n<li><strong>ListView<\/strong>: An advanced list control that displays data items in a multidimensional way, supporting both icon and detail views.<\/li>\n<li><strong>DataGrid<\/strong>: A list view based on a data table that displays and manipulates data in grid format.<\/li>\n<\/ul>\n<h2>2. Using the ListBox Control<\/h2>\n<p>ListBox is the most basic list control in WPF. Users can add or remove items from the list and have the ability to handle selected items. Let\u2019s implement a ListBox through the following step-by-step example:<\/p>\n<h3>2.1 Writing XAML Code<\/h3>\n<pre><code>&lt;Window x:Class=\"ListBoxExample.MainWindow\"\n        xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n        xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n        Title=\"ListBox Example\" Height=\"350\" Width=\"525\"&gt;\n    &lt;Grid&gt;\n        &lt;ListBox Name=\"myListBox\" Height=\"200\" Width=\"300\" SelectionChanged=\"myListBox_SelectionChanged\"&gt;\n            &lt;ListBoxItem&gt;Item 1&lt;\/ListBoxItem&gt;\n            &lt;ListBoxItem&gt;Item 2&lt;\/ListBoxItem&gt;\n            &lt;ListBoxItem&gt;Item 3&lt;\/ListBoxItem&gt;\n        &lt;\/ListBox&gt;\n        &lt;Button Name=\"addButton\" Content=\"Add\" Width=\"75\" Height=\"30\" Click=\"addButton_Click\" \n                 VerticalAlignment=\"Top\" HorizontalAlignment=\"Right\" Margin=\"0,10,10,0\"\/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;<\/code><\/pre>\n<p>In the above code, we created a ListBox and added three items as initial values. When the add button is clicked, it will be set to add a new item to the list.<\/p>\n<h3>2.2 Writing C# Code<\/h3>\n<pre><code>using System;\nusing System.Windows;\n\nnamespace ListBoxExample\n{\n    public partial class MainWindow : Window\n    {\n        public MainWindow()\n        {\n            InitializeComponent();\n        }\n\n        private void addButton_Click(object sender, RoutedEventArgs e)\n        {\n            myListBox.Items.Add(\"New Item \" + (myListBox.Items.Count + 1));\n        }\n\n        private void myListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)\n        {\n            if (myListBox.SelectedItem != null)\n            {\n                MessageBox.Show(\"Selected Item: \" + myListBox.SelectedItem.ToString());\n            }\n        }\n    }\n}<\/code><\/pre>\n<p>The above C# code adds a new item to the ListBox when the button is clicked and displays the selected item in a message box whenever it changes.<\/p>\n<h2>3. Using the ComboBox Control<\/h2>\n<p>ComboBox is a dropdown-style list control that displays the items users can choose from. Let\u2019s look at a simple example using a ComboBox.<\/p>\n<h3>3.1 Writing XAML Code<\/h3>\n<pre><code>&lt;ComboBox Name=\"myComboBox\" Width=\"200\" Height=\"30\" SelectionChanged=\"myComboBox_SelectionChanged\"&gt;\n    &lt;ComboBoxItem&gt;Option 1&lt;\/ComboBoxItem&gt;\n    &lt;ComboBoxItem&gt;Option 2&lt;\/ComboBoxItem&gt;\n    &lt;ComboBoxItem&gt;Option 3&lt;\/ComboBoxItem&gt;\n&lt;\/ComboBox&gt;<\/code><\/pre>\n<h3>3.2 Writing C# Code<\/h3>\n<pre><code>private void myComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)\n{\n    if (myComboBox.SelectedItem != null)\n    {\n        MessageBox.Show(\"Selected Option: \" + ((ComboBoxItem)myComboBox.SelectedItem).Content.ToString());\n    }\n}<\/code><\/pre>\n<h2>4. Using the ListView Control<\/h2>\n<p>ListView is a very useful control that helps in representing complex data. It can display data in various formats such as icons, text, checkboxes, etc.<\/p>\n<h3>4.1 Writing XAML Code<\/h3>\n<pre><code>&lt;ListView Name=\"myListView\" Height=\"200\" Width=\"300\"&gt;\n    &lt;ListView.View&gt;\n        &lt;GridView&gt;\n            &lt;GridViewColumn Header=\"Name\" Width=\"100\" DisplayMemberBinding=\"{Binding Name}\"\/&gt;\n            &lt;GridViewColumn Header=\"Age\" Width=\"100\" DisplayMemberBinding=\"{Binding Age}\"\/&gt;\n        &lt;\/GridView&gt;\n    &lt;\/ListView.View&gt;\n&lt;\/ListView&gt;<\/code><\/pre>\n<h3>4.2 Writing the Data Model Class<\/h3>\n<pre><code>public class Person\n{\n    public string Name { get; set; }\n    public int Age { get; set; }\n}<\/code><\/pre>\n<h3>4.3 Writing C# Code<\/h3>\n<pre><code>private void LoadData()\n{\n    var people = new List&lt;Person&gt;()\n    {\n        new Person() { Name = \"John Doe\", Age = 25 },\n        new Person() { Name = \"Lee Mong-ryong\", Age = 30 },\n        new Person() { Name = \"Seong Chun-hyang\", Age = 22 }\n    };\n\n    myListView.ItemsSource = people;\n}<\/code><\/pre>\n<p>The LoadData method sets the data to be displayed in the ListView. This method should be called in the initialization method.<\/p>\n<h2>5. Using the DataGrid Control<\/h2>\n<p>DataGrid is a useful control for handling large amounts of data, providing sorting, filtering, and editing features. Let&#8217;s look at an example of using the DataGrid as well.<\/p>\n<h3>5.1 Writing XAML Code<\/h3>\n<pre><code>&lt;DataGrid Name=\"myDataGrid\" AutoGenerateColumns=\"False\" Height=\"200\" Width=\"400\"&gt;\n    &lt;DataGrid.Columns&gt;\n        &lt;DataGridTextColumn Header=\"Product Name\" Binding=\"{Binding ProductName}\" Width=\"150\"\/&gt;\n        &lt;DataGridTextColumn Header=\"Price\" Binding=\"{Binding Price}\" Width=\"150\"\/&gt;\n    &lt;\/DataGrid.Columns&gt;\n&lt;\/DataGrid&gt;<\/code><\/pre>\n<h3>5.2 Writing the Data Model Class<\/h3>\n<pre><code>public class Product\n{\n    public string ProductName { get; set; }\n    public decimal Price { get; set; }\n}<\/code><\/pre>\n<h3>5.3 Writing C# Code<\/h3>\n<pre><code>private void LoadProducts()\n{\n    var products = new List&lt;Product&gt;()\n    {\n        new Product() { ProductName = \"Product A\", Price = 10000 },\n        new Product() { ProductName = \"Product B\", Price = 20000 }\n    };\n\n    myDataGrid.ItemsSource = products;\n}<\/code><\/pre>\n<h2>6. Summary<\/h2>\n<p>WPF&#8217;s list controls form the foundation for displaying data and allowing user interaction in all UIs. By utilizing various controls such as ListBox, ComboBox, ListView, and DataGrid, you can display and manipulate data according to user needs. Apply these controls to your projects to create useful user interfaces.<\/p>\n<p>With this code, you can easily build your own WPF applications, laying the foundation for WPF and moving on to design more complex user interfaces.<\/p>\n<p>Through the theory and practice of WPF\u2019s list controls, I hope you all can create more powerful and flexible applications.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Presentation Foundation (WPF) is part of the .NET framework and provides various UI elements and a rich user interface. Today, we aim to provide an in-depth understanding of list controls in WPF. List controls play a key role in displaying and manipulating data. In this article, we will explain the types of WPF list &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37699\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;WPF Development, List Control&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[117],"tags":[],"class_list":["post-37699","post","type-post","status-publish","format-standard","hentry","category-wpf-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/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:\/\/atmokpo.com\/w\/37699\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Windows Presentation Foundation (WPF) is part of the .NET framework and provides various UI elements and a rich user interface. Today, we aim to provide an in-depth understanding of list controls in WPF. List controls play a key role in displaying and manipulating data. In this article, we will explain the types of WPF list &hellip; \ub354 \ubcf4\uae30 &quot;WPF Development, List Control&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37699\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:59:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:04:05+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"WPF Development, List Control\",\"datePublished\":\"2024-11-01T09:59:42+00:00\",\"dateModified\":\"2024-11-01T11:04:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/\"},\"wordCount\":507,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"WPF Programming\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37699\/\",\"name\":\"WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:59:42+00:00\",\"dateModified\":\"2024-11-01T11:04:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37699\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37699\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WPF Development, List Control\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/37699\/","og_locale":"ko_KR","og_type":"article","og_title":"WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Windows Presentation Foundation (WPF) is part of the .NET framework and provides various UI elements and a rich user interface. Today, we aim to provide an in-depth understanding of list controls in WPF. List controls play a key role in displaying and manipulating data. In this article, we will explain the types of WPF list &hellip; \ub354 \ubcf4\uae30 \"WPF Development, List Control\"","og_url":"https:\/\/atmokpo.com\/w\/37699\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:59:42+00:00","article_modified_time":"2024-11-01T11:04:05+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37699\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37699\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"WPF Development, List Control","datePublished":"2024-11-01T09:59:42+00:00","dateModified":"2024-11-01T11:04:05+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37699\/"},"wordCount":507,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["WPF Programming"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37699\/","url":"https:\/\/atmokpo.com\/w\/37699\/","name":"WPF Development, List Control - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:59:42+00:00","dateModified":"2024-11-01T11:04:05+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37699\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37699\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37699\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"WPF Development, List Control"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=37699"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37699\/revisions"}],"predecessor-version":[{"id":37700,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37699\/revisions\/37700"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}