diff --git a/docs/blazor_server/Render_button_checkbox_etc_in_a_grid_cell.md b/docs/blazor_server/Render_button_checkbox_etc_in_a_grid_cell.md index c51c6485..7c9299fd 100644 --- a/docs/blazor_server/Render_button_checkbox_etc_in_a_grid_cell.md +++ b/docs/blazor_server/Render_button_checkbox_etc_in_a_grid_cell.md @@ -76,7 +76,7 @@ In this sample we name the component **ButtonCell.razor**: public GridComponent GridComponent { get; set; } [Parameter] - public Order Item { get; protected set; } + public Order Item { get; set; } [Parameter] public IList> Actions { get; protected set; } @@ -87,7 +87,7 @@ In this sample we name the component **ButtonCell.razor**: [Parameter] public object Object { get; protected set; } - private void MyClickHandler(UIMouseEventArgs e) + private void MyClickHandler(MouseEventArgs e) { if (Actions == null) { @@ -120,7 +120,7 @@ In this sample we name the component **ButtonCell.razor**: @code { [Parameter] - public Order Item { get; protected set; } + public Order Item { get; set; } private void CheckChanged() { @@ -139,12 +139,12 @@ In this sample we name the component **ButtonCell.razor**: @code { [Parameter] - public Order Item { get; protected set; } + public Order Item { get; set; } - private void MyClickHandler(UIMouseEventArgs e) + private void MyClickHandler(MouseEventArgs e) { Console.WriteLine("Button clicked: /Home/Edit/" + Item.OrderID); } } ``` -[<- Data annotations](Data_annotations.md) | [Subgrids ->](Subgrids.md) \ No newline at end of file +[<- Data annotations](Data_annotations.md) | [Subgrids ->](Subgrids.md)