You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wpf/Accordion/Populating-Items.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Here five SfAccordionItems are added as the children of the `SfAccordion`.
83
83
84
84
### Setting Header for items
85
85
86
-
`SfAccordionItem` provides a property [Header](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.headeredcontentcontrol.header?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_HeaderedContentControl_Header) that helps to set the header for the item. [Header](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.headeredcontentcontrol.header?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_HeaderedContentControl_Header) is visible in both expanded and collapsed state. Set the value as “WPF” for the first child and repeat the same procedure for the remaining children with values as “Silverlight”, “WinRT”, ”Windows Phone” and “Universal”.
86
+
`SfAccordionItem` provides a property [Header](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.headeredcontentcontrol.header?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_HeaderedContentControl_Header) that helps to set the header for the item. [Header](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.headeredcontentcontrol.header?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_HeaderedContentControl_Header) is visible in both expanded and collapsed state. Set the value as “WPF” for the first child and repeat the same procedure for the remaining children with values as “Silverlight”, “WinRT”, ”Windows Phone” and “Universal”.
87
87
88
88
{% tabs %}
89
89
@@ -149,7 +149,7 @@ Here five SfAccordionItems are added as the children of the `SfAccordion`.
149
149
150
150
### Setting Content for items
151
151
152
-
[Content](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.contentcontrol.content?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_ContentControl_Content) property helps to set the content for `SfAccordionItem`. `SfAccordionItem` is a ContentControl so that any object can be added as its content. Content is visible only in expanded state.
152
+
[Content](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.contentcontrol.content?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Controls_ContentControl_Content) property helps to set the content for `SfAccordionItem`. `SfAccordionItem` is a ContentControl so that any object can be added as its content. Content is visible only in expanded state.
153
153
154
154
{% tabs %}
155
155
@@ -230,11 +230,11 @@ Here five SfAccordionItems are added as the children of the `SfAccordion`.
230
230
231
231
## Using ItemsSource
232
232
233
-
SfAccordion accepts any business object collection to be bound to its [ItemsSource](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property.
233
+
SfAccordion accepts any business object collection to be bound to its [ItemsSource](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property.
234
234
235
235
### Adding items to the control
236
236
237
-
Follow the below steps to add the Items through [ItemsSource](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property.
237
+
Follow the below steps to add the Items through [ItemsSource](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property.
238
238
239
239
1. Create a model
240
240
@@ -357,7 +357,7 @@ Follow the below steps to add the Items through [ItemsSource](https://docs.micro
357
357
{% endcapture %}
358
358
{{ codesnippet3 | OrderList_Indent_Level_1 }}
359
359
360
-
4. Bind the Employees collection to [ItemsSource](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property of `SfAccordion` Control
360
+
4. Bind the Employees collection to [ItemsSource](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.7.2) property of `SfAccordion` Control
361
361
362
362
{% capture codesnippet4 %}
363
363
{% tabs %}
@@ -378,7 +378,7 @@ Follow the below steps to add the Items through [ItemsSource](https://docs.micro
378
378
379
379
### Setting Header for items
380
380
381
-
Header can be displayed using the property [DisplayMemberPath](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.displaymemberpath?view=netframework-4.7.2). This property is used to get the header from Model class. Header is visible in both expanded and collapsed state.
381
+
Header can be displayed using the property [DisplayMemberPath](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.displaymemberpath?view=netframework-4.7.2). This property is used to get the header from Model class. Header is visible in both expanded and collapsed state.
0 commit comments