Mobile label: foreground color and wrap (VB.net) : Label « Mobile Control « ASP.Net






Mobile label: foreground color and wrap (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="lbl2"
        text="This text will scroll off the screen." 
        forecolor="Green"
        alignment="Left"
        font-name="Times New Roman"
        font-italic="true"
        wrapping="NoWrap"
    />
</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: font and alignment (VB.net)
4.Mobile label visibility (VB.net)