[]
        
(Showing Draft Content)

C1.Blazor.Core.C1HtmlButton

C1HtmlButton Class

Thin component wrapper over html button.

Inheritance
C1HtmlButton
Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public class C1HtmlButton : C1View, IComponent, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable
Public Class C1HtmlButton
    Inherits C1View
    Implements IComponent, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable
Remarks

This components prevents event bubbling.

Constructors

Name Description
C1HtmlButton()

Initializes a new instance of the C1HtmlButton class.

Properties

Name Description
AdditionalAttributes

Gets or sets a collection of additional attributes that will be applied to the created element.

ChildContent

Gets or sets child content.

Click

Gets or sets the callback that will be called when control is clicked.

Disabled

The disabled attribute for the button.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
FocusAsync()

Sets the focus in the control.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)