Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: how-to
page_title: How to Extend, Inherit, or Wrap Telerik Components for Blazor
slug: common-kb-component-inheritance
tags: telerik, blazor, inheritance
ticketid: 1628856, 1615737, 1604776, 1607228, 1618168, 1690926
ticketid: 1628856, 1615737, 1604776, 1607228, 1618168, 1690926, 1694691
res_type: kb
---

Expand Down Expand Up @@ -266,6 +266,17 @@ namespace YourAppName.BaseComponents
}
````

## Notes

If `ReusableComboBox.razor` has a separate `.razor.cs` file, then the [partial class must be defined as generic](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/generic-type-support):

````C#.skip-repl
public partial class ReusableComboBox<TItem, TValue> : ComponentBase
{

}
````

## See Also

* [Using Base Classes with Razor Components](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/?view=aspnetcore-9.0#specify-a-base-class)
Loading