Class RadzenPassword
RadzenPassword component.
Inheritance
RadzenPassword
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenPassword : FormComponentWithAutoComplete<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
Examples
<RadzenPassword Placeholder="Enter password..." Change=@(args => Console.WriteLine($"Value: {args}")) />
Constructors
RadzenPassword()
RadzenPassword component.
Declaration
public RadzenPassword()
Examples
<RadzenPassword Placeholder="Enter password..." Change=@(args => Console.WriteLine($"Value: {args}")) />
Properties
DefaultAutoCompleteAttribute
Gets or sets the default autocomplete attribute's string value.
Declaration
public override string DefaultAutoCompleteAttribute { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
ReadOnly
Gets or sets a value indicating whether is read only.
Declaration
[Parameter]
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenPassword component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
GetId()
Gets the unique identifier.
Declaration
protected override string GetId()
Returns
Type | Description |
---|---|
string | Returns the |
Overrides
OnChange(ChangeEventArgs)
Handles the Change event.
Declaration
protected Task OnChange(ChangeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChangeEventArgs | args | The ChangeEventArgs instance containing the event data. |
Returns
Type | Description |
---|---|
Task |