Class RadzenPassword
RadzenPassword component.
public class RadzenPassword : FormComponentWithAutoComplete<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
- Inheritance
-
RadzenPassword
- Implements
- Inherited Members
Examples
<RadzenPassword Placeholder="Enter password..." Change=@(args => Console.WriteLine($"Value: {args}")) />
Constructors
RadzenPassword()
public RadzenPassword()
Properties
DefaultAutoCompleteAttribute
public override string DefaultAutoCompleteAttribute { get; set; }
Property Value
ReadOnly
Gets or sets a value indicating whether is read only.
[Parameter]
public bool ReadOnly { get; set; }
Property Value
- bool
true
if is read only; otherwise,false
.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetComponentCssClass()
protected override string GetComponentCssClass()
Returns
GetId()
protected override string GetId()
Returns
OnChange(ChangeEventArgs)
Handles the Change event.
protected Task OnChange(ChangeEventArgs args)
Parameters
args
ChangeEventArgsThe ChangeEventArgs instance containing the event data.