Microsoft.AspNetCore.Components Namespace
Provides classes for component rendering, event handling, and routing.
Classes
BindConverter |
Performs conversions during binding. |
BindElementAttribute |
Configures options for binding specific element types. |
BindInputElementAttribute |
Configures options for binding subtypes of an HTML |
CascadingParameterAttribute |
Denotes the target member as a cascading component parameter. Its value will be supplied by the closest ancestor CascadingValue<TValue> component that supplies values with a compatible type and name. |
CascadingValue<TValue> |
A component that provides a cascading value to all descendant components. |
ChangeEventArgs |
Supplies information about an change event that is being raised. |
ComponentBase |
Optional base class for components. Alternatively, components may implement IComponent directly. |
Dispatcher |
Dispatches external actions to be executed on the context of a Renderer. |
ElementReferenceContext |
Context for an ElementReference. |
ElementReferenceExtensions |
Static class that adds extension methods to ElementReference. |
EventCallbackFactory |
A factory for creating EventCallback and EventCallback<TValue> instances. |
EventCallbackFactoryBinderExtensions |
Contains extension methods for two-way binding using EventCallback. For internal use only. |
EventCallbackFactoryEventArgsExtensions |
Provides extension methods for EventCallbackFactory and EventArgs types. |
EventHandlerAttribute |
Associates an event argument type with an event attribute name. |
InjectAttribute |
Indicates that the associated property should have a value injected from the service provider during initialization. |
LayoutAttribute |
Indicates that the associated component type uses a specified layout. |
LayoutComponentBase |
Optional base class for components that represent a layout. Alternatively, components may implement IComponent directly and declare their own parameter named Body. |
LayoutView |
Displays the specified content inside the specified layout and any further nested layouts. |
LocationChangeException |
An exception thrown when LocationChanged throws an exception. |
NavigationException |
Exception thrown when an NavigationManager is not able to navigate to a different url. |
NavigationManager |
Provides an abstraction for querying and managing URI navigation. |
OwningComponentBase |
A base class that creates a service provider scope. |
OwningComponentBase<TService> |
A base class that creates a service provider scope, and resolves a service of type |
ParameterAttribute |
Denotes the target member as a component parameter. |
RouteAttribute |
Indicates that the associated component should match the specified route template pattern. |
RouteData |
Describes information determined during routing that specifies the page to be displayed. |
RouteView |
Displays the specified page component, rendering it inside its layout and any further nested layouts. |
WebElementReferenceContext |
A ElementReferenceContext for a web element. |
Structs
ElementReference |
Represents a reference to a rendered element. |
EventCallback |
A bound event handler delegate. |
EventCallback<TValue> |
A bound event handler delegate. |
EventCallbackWorkItem |
Wraps a callback delegate associated with an event. |
MarkupString |
A string value that can be rendered as markup such as HTML. |
ParameterValue |
Represents a single parameter supplied to an IComponent by its parent in the render tree. |
ParameterView |
Represents a collection of parameters supplied to an IComponent by its parent in the render tree. |
ParameterView.Enumerator |
An enumerator that iterates through a ParameterView. |
RenderHandle |
Allows a component to interact with its renderer. |
Interfaces
IComponent |
Represents a UI component. |
IComponentActivator |
Represents an activator that can be used to instantiate components. The activator is not responsible for dependency injection, since the framework performs dependency injection to the resulting instances separately. |
IHandleAfterRender |
Interface implemented by components that receive notification that they have been rendered. |
IHandleEvent |
Interface implemented by components that receive notification of state changes. |
Delegates
RenderFragment |
Represents a segment of UI content, implemented as a delegate that writes the content to a RenderTreeBuilder. |
RenderFragment<TValue> |
Represents a segment of UI content for an object of type |
Remarks
For more information, see Create and use ASP.NET Core Razor components.