Mobile label: font and alignment (VB.net) : Label « Mobile Control « ASP.Net






Mobile label: font and alignment (VB.net)

<%@ Page 
    Inherits="System.Web.UI.MobileControls.MobilePage" 
    Language="VB" 
%>
<%@ Register 
    TagPrefix="mobile" 
    Namespace="System.Web.UI.MobileControls" 
    Assembly="System.Web.Mobile" 
%>
<script runat="server" language="VB">
</script>
<mobile:form 
    id="StartForm" 
    runat="server">
    <mobile:label 
        runat="server" 
        id="lbl1"
        text="First Label" 
        forecolor="Red"
        alignment="right"
        font-name="Arial"
        font-bold="True"
    />
</mobile:form>
           
       








Related examples in the same category

1.Mobile Label: bold, reference style (VB.net)
2.Set text to mobile label (VB.net)
3.Mobile label visibility (VB.net)
4.Mobile label: foreground color and wrap (VB.net)