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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:21:39+00:00 2026-06-17T13:21:39+00:00

I have a scrollviewer that contain a webbrowser, I need to add a button

  • 0

I have a scrollviewer that contain a webbrowser, I need to add a button <Button Grid.Row="1">
<Button.Background>
<ImageBrush ImageSource="../Images/cont_banner.png" />
</Button.Background>
<Button.Content>
<HyperlinkButton Content="" NavigateUri="callto:3950" />
</Button.Content>
</Button>
also inside the scrollview but i can’t.

This my code with the button outside the scroolviewer, how can i move it inside?

            <DataTemplate>

                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*" />
                        <RowDefinition Height="100"/>
                    </Grid.RowDefinitions>


                    <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Margin="25, 0, 0, 0" Grid.Row="0">
                        <!--<TextBlock Text="{Binding Path=Descrption}" Style="{StaticResource servicesText}" TextWrapping="Wrap" />-->

                        <phone:WebBrowser DataContext="{Binding Path=Descrption}" x:Name="webBrowserHTML" Foreground="Black" Loaded="webBrowserHTML_Loaded" />

                    </ScrollViewer>
                        <!--<Image Source="../Images/cont_banner.png" Width="270"  Grid.Row="1"/>-->

                    <Button Grid.Row="1">
                        <Button.Background>
                            <ImageBrush ImageSource="../Images/cont_banner.png" />
                        </Button.Background>
                        <Button.Content>
                            <HyperlinkButton Content="" NavigateUri="callto:3950" />
                        </Button.Content>
                    </Button>


                </Grid>


            </DataTemplate>
        </controls:Pivot.ItemTemplate>
  • 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-06-17T13:21:40+00:00Added an answer on June 17, 2026 at 1:21 pm

    You could do it like this:

    <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                  VerticalScrollBarVisibility="Auto"
                  Margin="25, 0, 0, 0">
        <StackPanel>
            <phone:WebBrowser DataContext="{Binding Path=Descrption}"
                              x:Name="webBrowserHTML"
                              Height="400"
                              Foreground="Black"
                              Loaded="webBrowserHTML_Loaded" />
    
            <Button>
                <Button.Background>
                    <ImageBrush ImageSource="../Images/cont_banner.png" />
                </Button.Background>
                <Button.Content>
                    <HyperlinkButton Content="" NavigateUri="callto:3950" />
                </Button.Content>
            </Button>
        </StackPanel>
    </ScrollViewer>
    

    Note that you’ll need to set the height of the web Browser control explicitly to something appropriate.

    You probably also want to set that left margin to be 24 pixels (not 25) to be consistent with the rest of the platform.

    Update
    You MUST set the height of the WebBrowser for this to work.

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

Sidebar

Related Questions

I have a scrollviewer that contains a grid with a bunch of form controls
I have a ScrollViewer with a StackPanel that contains images. Is it possible to
I have an ScrollViewer that I am trying to do data binding on the
I have a Silverlight 4 out-of-browser application with a ScrollViewer that has several RichTextBoxes
I have a StackPanel inside of a ScrollViewer. I have a slider that does
FWIW I'm using Xcode 4.5.1. I have a View that will contain UI elements
I have a MainView that contains a scrollViewer, from its ViewModel I have a
I have a layout that contains a TableLayout with three rows. Each row has
I have a ScrollViewer that contains a Horizontal StackPanel that contains 2 ListViews. My
I have 1 scrollview that contain 18 buttons. 1) when a user taps on

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.