Skip to content

Commit b449129

Browse files
authored
Component name changes (#34593)
1 parent cf4cd9d commit b449129

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aspnetcore/blazor/components/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -817,10 +817,10 @@ In the following `ParameterChild` component, component parameters include:
817817
> [!WARNING]
818818
> Providing initial values for component parameters is supported, but don't create a component that writes to its own parameters after the component is rendered for the first time. For more information, see <xref:blazor/components/overwriting-parameters>.
819819
820-
The component parameters of the `ParameterChild` component can be set by arguments in the HTML tag that renders an instance of the `ParameterChild` component. The following `ParameterParent` component renders two `ParameterChild` components:
820+
The component parameters of the `ParameterChild` component can be set by arguments in the HTML tag that renders an instance of the `ParameterChild` component. The following parent component renders two `ParameterChild` components:
821821

822822
* The first `ParameterChild` component is rendered without supplying parameter arguments.
823-
* The second `ParameterChild` component receives values for `Title` and `Body` from the `ParameterParent` component, which uses an [explicit C# expression](xref:mvc/views/razor#explicit-razor-expressions) to set the values of the `PanelBody`'s properties.
823+
* The second `ParameterChild` component receives values for `Title` and `Body` from the parent component, which uses an [explicit C# expression](xref:mvc/views/razor#explicit-razor-expressions) to set the values of the `PanelBody`'s properties.
824824

825825
:::moniker range=">= aspnetcore-9.0"
826826

@@ -870,7 +870,7 @@ The component parameters of the `ParameterChild` component can be set by argumen
870870

871871
:::moniker-end
872872

873-
The following rendered HTML markup from the `ParameterParent` component shows `ParameterChild` component default values when the `ParameterParent` component doesn't supply component parameter values. When the `ParameterParent` component provides component parameter values, they replace the `ParameterChild` component's default values.
873+
The following rendered HTML markup from the parent component shows `ParameterChild` component default values when the parent component doesn't supply component parameter values. When the parent component provides component parameter values, they replace the `ParameterChild` component's default values.
874874

875875
> [!NOTE]
876876
> For clarity, most of the rendered CSS style classes and some elements aren't shown in the following rendered HTML markup. The main concept demonstrated by the following example is that the parent component assigned values to the child component using its component parameters.
@@ -895,7 +895,7 @@ Assign a C# field, property, or result of a method to a component parameter as a
895895

896896
If the component parameter is of type string, then the attribute value is instead treated as a C# string literal. If you want to specify a C# expression instead, then use the `@` prefix.
897897

898-
The following `ParameterParent2` component displays four instances of the preceding `ParameterChild` component and sets their `Title` parameter values to:
898+
The following parent component displays four instances of the preceding `ParameterChild` component and sets their `Title` parameter values to:
899899

900900
* The value of the `title` field.
901901
* The result of the `GetTitle` C# method.

0 commit comments

Comments
 (0)