Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

ravikrana

ravikrana ravikrana

Niner since 2013

  • Part 4: Introduction to XAML

    Hi Bob . How can i add media element such as image instead of Red button such as i did it using XAML . Here is my code

    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
    <Button Name="playaudiobutton"
    Height="200" Width="200" HorizontalAlignment="Left" VerticalAlignment="Top" Background="Purple" Click="playaudiobutton_Click_2" >
    <Button.Template>
    <ControlTemplate>
    <Image Source="/Assets/AnimalsPic/quack.png" ></Image>
    </ControlTemplate>
    </Button.Template>
    Quack</Button>
    <MediaElement x:Name="QuackMediaElement"
    Source="/Assets/Audio/Animals/Duck.wav"
    Volume="1"
    AutoPlay="False"
    />

    </Grid>

  • Part 4: Introduction to XAML - Continued

    Learning from you became quite interesting and it add a sense to my study.So Thx a lot Bob:)