Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 831 Bytes

File metadata and controls

27 lines (23 loc) · 831 Bytes

The Literal component is meant to emulate the asp:Literal control in markup and is defined in the https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.literal?view=netframework-4.8

Blazor Features Supported

  • Mode specifies how the content in the Literal component is rendered
  • Text the text content of the Literal component

WebForms Syntax

<asp:Literal
    EnableTheming="True|False"
    EnableViewState="True|False"
    ID="string"
    Mode="Transform|PassThrough|Encode"
    OnDataBinding="DataBinding event handler"
    OnDisposed="Disposed event handler"
    OnInit="Init event handler"
    OnLoad="Load event handler"
    OnPreRender="PreRender event handler"
    OnUnload="Unload event handler"
    runat="server"
    SkinID="string"
    Text="string"
    Visible="True|False"
/>