4 Replies - 8956 Views - Last Post: 10 October 2012 - 06:19 AM

#1 Deadboy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 13-June 12

Scrolling in Designer Pane...

Posted 08 October 2012 - 04:54 AM

I am using Microsoft Visual Studio 2010 Express for Windows Phone.I added some controls through the designer window and the visible space is filled.How can i scroll down in the designer pane to add more controls?
Is This A Good Question/Topic? 0
  • +

Replies To: Scrolling in Designer Pane...

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5540
  • View blog
  • Posts: 11,868
  • Joined: 02-June 10

Re: Scrolling in Designer Pane...

Posted 08 October 2012 - 11:58 AM

You filled all the space of the form/Window?
Make it bigger.

If you want the user to be able to scroll through more controls than the form/window can display at a given size, then you first needed to add some sort of scrollable container (Like a panel) - THEN - added the controls into that scrollable container. Scroll bars don't just appear automagically.

This post has been edited by tlhIn`toq: 08 October 2012 - 11:59 AM

Was This Post Helpful? 0
  • +
  • -

#3 Deadboy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 13-June 12

Re: Scrolling in Designer Pane...

Posted 09 October 2012 - 06:35 AM

I don't want the user to scroll,i want myself to scroll down and more controls.
Was This Post Helpful? 0
  • +
  • -

#4 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Scrolling in Designer Pane...

Posted 09 October 2012 - 07:03 AM

View PosttlhIn`toq, on 08 October 2012 - 03:58 PM, said:

You filled all the space of the form/Window?
Make it bigger.

If you want the user to be able to scroll through more controls than the form/window can display at a given size, then you first needed to add some sort of scrollable container (Like a panel) - THEN - added the controls into that scrollable container. Scroll bars don't just appear automagically.


This is not form Windows Forms, but for Windows Phone 7. I think the OP is dragging controls to the phone simulator surface and has run out of room.

@OP: The thing is, there is no "room". You shouldn't be using the drag and drop tools, there's a button in Visual Studio where you can split between design and xaml markup.

Just copy and paste your XAML how many times you need.

<StackPanel>
    <Button>Hello</button>
</StackPanel>


"Ok, let's add one more button."

<StackPanel>
    <Button>Hello</button>
    <Button>Hello</button>
</StackPanel>


See?
Was This Post Helpful? 1
  • +
  • -

#5 Deadboy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 13-June 12

Re: Scrolling in Designer Pane...

Posted 10 October 2012 - 06:19 AM

View PostSergio Tapia, on 09 October 2012 - 07:03 AM, said:

View PosttlhIn`toq, on 08 October 2012 - 03:58 PM, said:

You filled all the space of the form/Window?
Make it bigger.

If you want the user to be able to scroll through more controls than the form/window can display at a given size, then you first needed to add some sort of scrollable container (Like a panel) - THEN - added the controls into that scrollable container. Scroll bars don't just appear automagically.


This is not form Windows Forms, but for Windows Phone 7. I think the OP is dragging controls to the phone simulator surface and has run out of room.

@OP: The thing is, there is no "room". You shouldn't be using the drag and drop tools, there's a button in Visual Studio where you can split between design and xaml markup.

Just copy and paste your XAML how many times you need.

<StackPanel>
    <Button>Hello</button>
</StackPanel>


"Ok, let's add one more button."

<StackPanel>
    <Button>Hello</button>
    <Button>Hello</button>
</StackPanel>


See?


Thanks,i know this way but i was thinking if i could drag and drop the controls directly on the designer pane.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1