Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EditorRequiredAttribute Class

Definition

Namespace:
Microsoft.AspNetCore.Components
Assembly:
Microsoft.AspNetCore.Components.dll
Package:
Microsoft.AspNetCore.Components v10.0.0
Package:
Microsoft.AspNetCore.Components v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components v6.0.6
Package:
Microsoft.AspNetCore.Components v7.0.5
Package:
Microsoft.AspNetCore.Components v8.0.19
Package:
Microsoft.AspNetCore.Components v9.0.8
Source:
EditorRequiredAttribute.cs
Source:
EditorRequiredAttribute.cs
Source:
EditorRequiredAttribute.cs
Source:
EditorRequiredAttribute.cs
Source:
EditorRequiredAttribute.cs
Source:
EditorRequiredAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies that the component parameter is required to be provided by the user when authoring it in the editor.

If a value for this parameter is not provided, editors or build tools may provide warnings indicating the user to specify a value. This attribute is only valid on properties marked with ParameterAttribute.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class EditorRequiredAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type EditorRequiredAttribute = class
 inherit Attribute
Public NotInheritable Class EditorRequiredAttribute
Inherits Attribute
Inheritance
EditorRequiredAttribute
Attributes

Constructors

Name Description
EditorRequiredAttribute()

Applies to


Feedback

Was this page helpful?