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 295339
In Process

The Archive Base Latest Questions

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

Behold the following XAML: <Grid> <HyperlinkButton x:Name=Link Background=Green> <Grid Background=Red> <Grid.ColumnDefinitions> <ColumnDefinition Width=Auto />

  • 0

Behold the following XAML:

<Grid>
<HyperlinkButton x:Name="Link" Background="Green">
    <Grid Background="Red">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="12" />
        </Grid.RowDefinitions>
        <Image x:Name="AvatarImage" Style="{StaticResource AvatarStyle}" Grid.Column="0" Grid.Row="0" />
        <StackPanel Grid.Column="1" HorizontalAlignment="Stretch">
            <TextBlock Text="New Topic" Style="{StaticResource ItemTypeStyle}" />
            <TextBlock x:Name="Title" Style="{StaticResource HeadlineStyle}" TextWrapping="Wrap" />
            <TextBlock x:Name="SubText" Style="{StaticResource TextStyle}" TextWrapping="Wrap" />
        </StackPanel>
        <TextBlock x:Name="TimeStampText" Grid.ColumnSpan="2" Grid.Row="1" Style="{StaticResource TimeStampStyle}" />
    </Grid>
</HyperlinkButton>

In the user control’s Loaded event, I call the following code:

var imageUrl = new Uri("http://coasterbuzz.com/Forums/UserAvatar.ashx?id=2");
AvatarImage.Source = new BitmapImage(imageUrl);

Looking at Firebug, the image is coming down the wire, but for some reason it’s not displayed. Any guesses as to why? You’d probably like to see the styles, but note that if I remove the styles, nothing changes.

  • 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-12T06:26:57+00:00Added an answer on May 12, 2026 at 6:26 am

    Ah, easy answer. Silverlight 2 doesn’t support GIF.

    There is a handful of solutions to convert the image serverside here: http://silverlight.net/forums/t/3883.aspx

    The most official reason I can find:

    Why the support for displaying a .gif
    image is is missing? When it will be
    added?

    We don’t want to take the hit for
    another codec. It may only be a little
    bit of download time—but our mandate
    is small and fast and every little bit
    counts. We are also hesitant to
    support .gif because it implies
    support for animated .gif, which we
    decided would have to be integrated
    into our animation scheme somehow—and
    that will be a lot of work.

    Looking from Flash perspective, Flash
    does not support .gif either. However,
    as of present, this is something being
    evaluated, but no date has been
    announced

    http://blogs.msdn.com/ashish/archive/2008/04/03/silverlight-roadmap-questions.aspx

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

Sidebar

Related Questions

this seems like a really simple Question...but behold :) Geek name:string Laser geek_id:integer, power:integer
I'm having some weird issues with dynamically populating a table in Javascript. Behold the
I'm developing a little game. I use the following code to detect the keys
Behold the C# code: IEnumerable<int> innerMethod(int parameter) { foreach(var i in Enumerable.Range(0, parameter)) {
I am developing a screen, and this screen I have a grid. Within this
I just had my server upgraded from Centos 4.9 to Centos 6.2 The following
Behold the code: using (var client = new WebClient()) { using (var stream =
Behold the code: using (var client = new WebClient()) { try { var bytesReceived
I finally finished my website and low and behold, there are some inconsistencies in
Behold the code: QImage *qi = new QImage(fullCharArray, imwidth, imheight, QImage::Format_Indexed8); ui->viewLabel->setPixmap(QPixmap::fromImage(qi,Qt::AutoColor)); Why does

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.