I agree with Stephen as far as adding and dragging using the objects
pane.  

 

Another tip when adding objects is to pin the container when adding a
heap of child controls.  On the objects pane, right click a container
(say a combo box) and select "Pin Active Container".  A yellow box will
surround the object in the objects pane and on the workspace.  Now you
can double click controls in the assets pane (say TextBlocks) and the
selection won't move to the newly added controls.  This lets you quickly
add a bunch of controls to the container.  Unpin the container when you'
re done.

 

Finally, try playing with the Alt and Ctrl keys when using the selection
tool.  Holding Ctrl while dragging on the workspace lets you multi
select.  Alt will let you drop into a container the mouse is over (there
will be on-screen tips for this).

 

Carl.

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Stephen
Price <[email protected]>
Sent: Wednesday, 6 January 2010 8:47 AM
To: ozSilverlight <[email protected]>
Subject: Re: Xaml dependency

 

As Carl has already said, , and as you have discovered, dragging things
around in the designer doesn't always put the object where you actually
want it in the visual tree. Dragging objects around will move the
position of the object by changing the top and left properties (if in a
canvas) or by changing margins (if in a grid). Its possible, but
difficult to get the object into the correct container. I think there
are some keys such as holding Alt while dragging to move the dragged
object into a container.

Its way easier to drag the object within the objects pane ("Objects and
Timeline" pane), and modifying properties in properties pane. 

My process of adding a new object, I select the target container in the
object pane then double click the object in the toolbox that I want to
add. This will add the object as the last object within the selected
container. then drag it (can drag it anywhere) up or down the visual
tree.

 

I don't think you are doing anything wrong, do what is fastest. I
sometimes put Blend in split view and copy and paste, or modify stuff in
the text view. Somethings are quicker if you look at the XAML. Grids
columns and rows for example is buried away three or so clicks away. 

 

As you use Blend more you will become more familiar with it and learn
what works best. After a while you don't see the XAML, you see blondes,
brunettes... ;)

cheers,

Stephen

 

On Wed, Jan 6, 2010 at 8:05 AM, Vishwanath Humpy <[email protected]>
wrote:

Who can help me?

Every time I use expression blend I find myself editing the xaml by hand
to quickly do what I want.

I have just started sketchflow prototypes.  I needed to add a tabcontrol
/ tabitem / listview / buttons.  I try hard using the designer but
nothing ends up where it should be and things end up in wrong container
and I fix it by editing the xaml.  This is ok because I like xaml.  But
I should be able to use the designer I think.

Is there any good training resource for self teaching?  Or if you are
good at xaml is it best to just keep doing it they way I have been?

 
<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/
signatureline....@middle?> 
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________ 
ozsilverlight mailing list 
[email protected] 
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight 

_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.

This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.

We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to