Databind a <TextBlock>

Last post 10-16-2009 10:37 AM by rtpHarry. 1 replies.

Sort Posts:

  • Databind a <TextBlock>

    10-16-2009, 9:48 AM
    • Member
      606 point Member
    • TheDirtyBird
    • Member since 04-06-2008, 2:15 PM
    • Alabama
    • Posts 226

    I'm just beginning to use silverlight and have a simple question.  How do I make a <TextBlock> control database driven?

      <Grid x:Name="LayoutRoot">
            <TextBlock Width="400" Height="50" Foreground="Red" FontSize="20"
        Text="I want this database driven" TextWrapping="Wrap">
                <TextBlock.RenderTransform>
                    <RotateTransform CenterX="20" CenterY="50" />
                </TextBlock.RenderTransform>
            </TextBlock>
        </Grid>
    
    </UserControl>


     

  • Re: Databind a <TextBlock>

    10-16-2009, 10:37 AM
    • All-Star
      36,264 point All-Star
    • rtpHarry
    • Member since 10-01-2006, 8:51 AM
    • Lincoln, England
    • Posts 5,835

    Hey,

    Probably a good place to ask that is:


    The login is the same as this site so you dont even have to sign up! Smile

Page 1 of 1 (2 items)