|
52 | 52 | <Docs>
|
53 | 53 | <summary>Provides a user interface that can edit most types of collections at design time.</summary>
|
54 | 54 | <remarks>
|
55 |
| - <format type="text/markdown"><![CDATA[ |
56 |
| - |
57 |
| -## Examples |
58 |
| - The following code example uses an <xref:System.ComponentModel.EditorAttribute> to associate the <xref:System.ComponentModel.Design.CollectionEditor> with a property. |
59 |
| - |
| 55 | + <format type="text/markdown"><![CDATA[ |
| 56 | +
|
| 57 | +## Examples |
| 58 | + The following code example uses an <xref:System.ComponentModel.EditorAttribute> to associate the <xref:System.ComponentModel.Design.CollectionEditor> with a property. |
| 59 | +
|
60 | 60 | :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet1":::
|
61 | 61 | :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet1":::
|
62 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet1"::: |
63 |
| - |
| 62 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet1"::: |
| 63 | +
|
64 | 64 | ]]></format>
|
65 | 65 | </remarks>
|
66 | 66 | <block subset="none" type="overrides">
|
|
188 | 188 | <returns>
|
189 | 189 | <see langword="true" /> if it is permissible to remove this value from the collection; otherwise, <see langword="false" />. The default implementation always returns <see langword="true" />.</returns>
|
190 | 190 | <remarks>
|
191 |
| - <format type="text/markdown"><![CDATA[ |
192 |
| - |
193 |
| -## Remarks |
194 |
| - When implemented in a derived class, this method indicates whether the specified value can be removed from the collection. By default, this method always returns `true`. |
195 |
| - |
196 |
| - This method is called when the user tries to remove an item that is an original member of the collection. This method is not called when removing items that were added in the current editing session because they are not yet part of the collection. |
197 |
| - |
| 191 | + <format type="text/markdown"><![CDATA[ |
| 192 | +
|
| 193 | +## Remarks |
| 194 | + When implemented in a derived class, this method indicates whether the specified value can be removed from the collection. By default, this method always returns `true`. |
| 195 | +
|
| 196 | + This method is called when the user tries to remove an item that is an original member of the collection. This method is not called when removing items that were added in the current editing session because they are not yet part of the collection. |
| 197 | +
|
198 | 198 | ]]></format>
|
199 | 199 | </remarks>
|
200 | 200 | </Docs>
|
|
235 | 235 | <returns>
|
236 | 236 | <see langword="true" /> if it multiple collection members can be selected at the same time; otherwise, <see langword="false" />. By default, this returns <see langword="true" />.</returns>
|
237 | 237 | <remarks>
|
238 |
| - <format type="text/markdown"><![CDATA[ |
239 |
| - |
240 |
| -## Remarks |
241 |
| - This method indicates whether multiple collection members can be selected within the collection editor dialog box. |
242 |
| - |
| 238 | + <format type="text/markdown"><![CDATA[ |
| 239 | +
|
| 240 | +## Remarks |
| 241 | + This method indicates whether multiple collection members can be selected within the collection editor dialog box. |
| 242 | +
|
243 | 243 | ]]></format>
|
244 | 244 | </remarks>
|
245 | 245 | </Docs>
|
|
278 | 278 | <summary>Gets the data type of each item in the collection.</summary>
|
279 | 279 | <value>The data type of the collection items.</value>
|
280 | 280 | <remarks>
|
281 |
| - <format type="text/markdown"><![CDATA[ |
282 |
| - |
283 |
| -## Remarks |
284 |
| - This property represents the data type of the items of the collection. |
285 |
| - |
| 281 | + <format type="text/markdown"><![CDATA[ |
| 282 | +
|
| 283 | +## Remarks |
| 284 | + This property represents the data type of the items of the collection. |
| 285 | +
|
286 | 286 | ]]></format>
|
287 | 287 | </remarks>
|
288 | 288 | </Docs>
|
|
327 | 327 | <summary>Gets the data type of the collection object.</summary>
|
328 | 328 | <value>The data type of the collection object.</value>
|
329 | 329 | <remarks>
|
330 |
| - <format type="text/markdown"><![CDATA[ |
331 |
| - |
332 |
| -## Remarks |
333 |
| - This property represents the data type of the collection object. |
334 |
| - |
| 330 | + <format type="text/markdown"><![CDATA[ |
| 331 | +
|
| 332 | +## Remarks |
| 333 | + This property represents the data type of the collection object. |
| 334 | +
|
335 | 335 | ]]></format>
|
336 | 336 | </remarks>
|
337 | 337 | </Docs>
|
|
458 | 458 | <summary>Gets the data type that this collection contains.</summary>
|
459 | 459 | <returns>The data type of the items in the collection, or an <see cref="T:System.Object" /> if no <see langword="Item" /> property can be located on the collection.</returns>
|
460 | 460 | <remarks>
|
461 |
| - <format type="text/markdown"><![CDATA[ |
462 |
| - |
463 |
| -## Remarks |
464 |
| - You can retrieve the data type of the items of the collection from the <xref:System.ComponentModel.Design.CollectionEditor.CollectionItemType%2A> property, which is faster than this method. |
465 |
| - |
466 |
| - This method does not need to be called by users, except in derived classes where this method has been overridden and implemented. |
467 |
| - |
468 |
| - The default implementation of this method returns the data type of the `Item` property of the collection, if it exists. |
469 |
| - |
| 461 | + <format type="text/markdown"><![CDATA[ |
| 462 | +
|
| 463 | +## Remarks |
| 464 | + You can retrieve the data type of the items of the collection from the <xref:System.ComponentModel.Design.CollectionEditor.CollectionItemType%2A> property, which is faster than this method. |
| 465 | +
|
| 466 | + This method does not need to be called by users, except in derived classes where this method has been overridden and implemented. |
| 467 | +
|
| 468 | + The default implementation of this method returns the data type of the `Item` property of the collection, if it exists. |
| 469 | +
|
470 | 470 | ]]></format>
|
471 | 471 | </remarks>
|
472 | 472 | <block subset="none" type="overrides">
|
|
552 | 552 | <summary>Gets the data types that this collection editor can contain.</summary>
|
553 | 553 | <returns>An array of data types that this collection can contain.</returns>
|
554 | 554 | <remarks>
|
555 |
| - <format type="text/markdown"><![CDATA[ |
556 |
| - |
557 |
| -## Remarks |
558 |
| - You can retrieve the data type of the items of the collection from the <xref:System.ComponentModel.Design.CollectionEditor.NewItemTypes%2A> property, which is faster than this method. |
559 |
| - |
560 |
| - This method does not need to be called by users, except in derived classes where this method has been overridden and implemented. |
561 |
| - |
562 |
| - The default implementation of this method returns the type of all the collection items in a Type array. |
563 |
| - |
| 555 | + <format type="text/markdown"><![CDATA[ |
| 556 | +
|
| 557 | +## Remarks |
| 558 | + You can retrieve the data type of the items of the collection from the <xref:System.ComponentModel.Design.CollectionEditor.NewItemTypes%2A> property, which is faster than this method. |
| 559 | +
|
| 560 | + This method does not need to be called by users, except in derived classes where this method has been overridden and implemented. |
| 561 | +
|
| 562 | + The default implementation of this method returns the type of all the collection items in a Type array. |
| 563 | +
|
564 | 564 | ]]></format>
|
565 | 565 | </remarks>
|
566 | 566 | <block subset="none" type="overrides">
|
|
840 | 840 | <Docs>
|
841 | 841 | <param name="instance">An <see cref="T:System.Collections.ArrayList" /> returned as an object.</param>
|
842 | 842 | <summary>Returns a list containing the given object.</summary>
|
843 |
| - <returns>An <see cref="T:System.Collections.ArrayList" /> which contains the individual objects to be created.</returns> |
| 843 | + <returns>An <see cref="T:System.Collections.ArrayList" /> that contains the individual objects to be created.</returns> |
844 | 844 | <remarks>To be added.</remarks>
|
845 | 845 | </Docs>
|
846 | 846 | </Member>
|
|
919 | 919 | <summary>Gets the Help keyword to display the Help topic or topic list for when the editor's dialog box Help button or the F1 key is pressed.</summary>
|
920 | 920 | <value>The Help keyword to display the Help topic or topic list for when Help is requested from the editor.</value>
|
921 | 921 | <remarks>
|
922 |
| - <format type="text/markdown"><![CDATA[ |
923 |
| - |
924 |
| -## Remarks |
925 |
| - Override this property to display a different Help topic. |
926 |
| - |
| 922 | + <format type="text/markdown"><![CDATA[ |
| 923 | +
|
| 924 | +## Remarks |
| 925 | + Override this property to display a different Help topic. |
| 926 | +
|
927 | 927 | ]]></format>
|
928 | 928 | </remarks>
|
929 | 929 | </Docs>
|
|
962 | 962 | <summary>Gets the available types of items that can be created for this collection.</summary>
|
963 | 963 | <value>The types of items that can be created.</value>
|
964 | 964 | <remarks>
|
965 |
| - <format type="text/markdown"><![CDATA[ |
966 |
| - |
967 |
| -## Remarks |
968 |
| - This property indicates the data types that can be added to the collection. By default, this returns a single type of <xref:System.ComponentModel.Design.CollectionEditor.CollectionItemType%2A>. If more than one type is returned, the collection editor UI provides a way to choose which item type to create. |
969 |
| - |
| 965 | + <format type="text/markdown"><![CDATA[ |
| 966 | +
|
| 967 | +## Remarks |
| 968 | + This property indicates the data types that can be added to the collection. By default, this returns a single type of <xref:System.ComponentModel.Design.CollectionEditor.CollectionItemType%2A>. If more than one type is returned, the collection editor UI provides a way to choose which item type to create. |
| 969 | +
|
970 | 970 | ]]></format>
|
971 | 971 | </remarks>
|
972 | 972 | </Docs>
|
|
1019 | 1019 | <summary>Sets the specified array as the items of the collection.</summary>
|
1020 | 1020 | <returns>The newly created collection object or, otherwise, the collection indicated by the <paramref name="editValue" /> parameter.</returns>
|
1021 | 1021 | <remarks>
|
1022 |
| - <format type="text/markdown"><![CDATA[ |
1023 |
| - |
1024 |
| -## Remarks |
1025 |
| - If setting requires that a new object be created, the new object is returned. Otherwise, the `editValue` parameter is returned. |
1026 |
| - |
| 1022 | + <format type="text/markdown"><![CDATA[ |
| 1023 | +
|
| 1024 | +## Remarks |
| 1025 | + If setting requires that a new object be created, the new object is returned. Otherwise, the `editValue` parameter is returned. |
| 1026 | +
|
1027 | 1027 | ]]></format>
|
1028 | 1028 | </remarks>
|
1029 | 1029 | </Docs>
|
|
0 commit comments