Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6693923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:02:32+00:00 2026-05-26T06:02:32+00:00

I am using SL4 Business application with WCF RIA service. In my app, there

  • 0

I am using SL4 Business application with WCF RIA service. In my app, there is a loginForm. in the designer of loginform I can found username textbox and password textbox.But in .Xaml page its like the code given below.

 <local:BusyIndicator x:Name="busyIndicator" BusyContent="{Binding Path=Strings.BusyIndicatorLoggingIn, Source={StaticResource ApplicationResources}}"
                         IsBusy="{Binding IsLoggingIn}">
        <StackPanel Orientation="Vertical">
            <toolkit:DataForm x:Name="loginForm"
                              Padding="10,0,10,0"
                              CurrentItem="{Binding}"
                              IsEnabled="{Binding IsLoggingIn, Converter={StaticResource NotOperatorValueConverter}}"
                              AutoEdit="True" CommandButtonsVisibility="None" HeaderVisibility="Collapsed"
                              AutoGeneratingField="LoginForm_AutoGeneratingField"
                              Style="{StaticResource LoginDataFormStyle}" />
        </StackPanel>
    </local:BusyIndicator>

My question is I need to style the username textbox as well as password textbox in the dataform. How can I do this? From where can i access these controls?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:02:33+00:00Added an answer on May 26, 2026 at 6:02 am

    Those controls are generated by the DataForm control. You basically need to put a default style for TextBox and PasswordBox under the root Grid’s Resources. I gave them a massive font size of 50. You just need to replace them with your own styles.

    <!-- LoginDataForm Style -->
    <Style x:Key="LoginDataFormStyle" TargetType="dataControls:DataForm">
        <Setter Property="Width" Value="370"/>
        <Setter Property="AutoCommit" Value="True"/>
        <Setter Property="AutoGenerateFields" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="DescriptionViewerPosition" Value="Auto"/>
        <Setter Property="LabelPosition" Value="Auto"/>
        <Setter Property="HeaderVisibility" Value="Collapsed"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Margin" Value="0,0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataControls:DataForm">
                    <Grid dataControls:DataField.IsFieldGroup="True">
                        <Grid.Resources>
                            <Style TargetType="TextBox">
                                <Setter Property="FontSize" Value="50"/>                    
                            </Style>
                            <Style TargetType="PasswordBox">
                                <Setter Property="FontSize" Value="50"/>                    
                            </Style>
                            <Style x:Key="ButtonGeneric" TargetType="Button">
    

    Hope this helps. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am hosting a SL4 application using WCF RIA services on IIS6 and I
I've been using mvvm to develop a RIA service sl4 app and i seem
I have a strange little issue with a WCF RIA service I'm using in
I am using SL4, MVVM Toolkit, Entity Framework 4 & WCF RIA Services. I
Using Bill Burrows Intro to SL4 and WCF Ria Services - Golf Example (http://www.myvbprof.com/MainSite/index.aspx#/zSL4_RIA_01),
I'm doing a proof of concept app in SL4 using MEF and as part
I've written a basic SL4 application to capture audio data from the microphone using
I'm using SL4 and RIA Services to build a new solution based on the
I'm using SL4 and the version of RIA Services that was released at the
We are building a LOB application using SL4, PRISM and MVVM. I noticed very

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.