Loading...

Localize


Localize Example
Hello World!!

@inherits ControlComponent

<asp.Localize @ref="this.localize"
                                            Text="Hello World!!" />

<br />
<br />

<asp.Button Text="Change Localize Text"
                                            OnClick="this.ButtonClick" />

@code {
                                            private Localize localize;

                                            protected void ButtonClick(object sender, EventArgs e)
    {
        localize.Text = "Welcome to Blazor.WebForm!! This is localized text.";
    }
}

Localize Metadata
Name Type Kind
Attributes IReadOnlyDictionary Parameter
ClientIDMode ClientIDMode Parameter
ID String Parameter
Mode LiteralMode Parameter
Text String Parameter
Visible Boolean Parameter
OnDataBinding EventHandler Event
OnDisposed EventHandler Event
OnInit EventHandler Event
OnLoad EventHandler Event
OnPreRender EventHandler Event
OnUnload EventHandler Event
Copyright © 2024 Jurio li All rights reserved.
An unhandled error has occurred. Reload 🗙