Teil von  SELFPHP
  +++ SELFPHP CronJob-Service :: Jetzt auch als Professional-Version verfügbar! +++

:: Anbieterverzeichnis ::

Globale Branchen

Informieren Sie sich über ausgewählte Unternehmen im Anbieterverzeichnis von SELFPHP  

 

:: SELFPHP Forum ::

Fragen rund um die Themen PHP? In über 120.000 Beiträgen finden Sie sicher die passende Antwort!  

 

:: Newsletter ::

Abonnieren Sie hier den kostenlosen SELFPHP Newsletter!

Vorname: 
Name:
E-Mail:
 
 

:: Qozido ::

Die Bilderverwaltung mit Logbuch für Taucher und Schnorchler.   

 
 
Understanding Layout Containers


SELFPHP Produktempfehlung
Microsoft Windows Server 2008
Seite Windows Server 2008
Seite

Microsoft SQL Server 2008
Seite SQL Server 2008
Seite

Microsoft Expression Web 3
Seite Microsoft Expression
Seite


Creating a Grid Control
Adding a grid control is similar to adding a canvas control, but with the added ability to draw columns and rows. Now that you’ve seen how to adjust a pre-existing grid, you’ll explore creating your own.

  1. Select the Grid tool from the Tools panel.
  2. To make sure you’re nesting a grid inside the LayoutRoot container, select LayoutRoot in the Objects and Timeline panel. This helps you avoid accidentally adding a grid inside another layout container.
  3. Click and draw a grid in the right column.
  4. Double-click the name Grid in the Objects and Timeline panel and rename the new grid Properties.



    Create a new grid named Properties.

  5. With the Properties grid still selected, add three rows by clicking two times in the blue area to the left of the grid.



    Adding a new row to the Properties grid

  6. If you need to adjust the rows, click and drag the rows in the same blue strip that you used to add new rows. If you need to remove rows, simply double-click them.
  7. Make sure that the Properties grid is selected (by clicking it) in the Objects and Timeline panel.
  8. Select the Rectangle tool in the Tools panel, then click and drag a rectangle object in each one of the rows. Note that since this solution was using rounded corners, your rectangles may take on that property. If you prefer, you can remove the rounded corners by changing the value in the RadiusX and RadiusY textboxes in the Appearance panel of the Properties panel. For this example, rounded corners were left on.
  9. Switch back to the Selection tool and lock the top row to duplicate the effects that you achieved in the last exercise, and again, make sure the Properties grid is selected in the Objects and Timeline panel.
  10. Now, click and drag the lower-right handle of the Properties grid. Notice that while the bottom two rectangles re-size, the top rectangle element remains fixed in size.
    Of course, the benefit of using a grid control is that you can control the resize of certain elements in your solution. This offers users the opportunity to resize some an application’s size, yet not lose important controls in that application.
  11. You are done with this file, you can choose File > Close All Documents. When the Expression Blend dialog box appears, press Don’t Save.


Seite 6 von 8 1 2 3 4 5 6 7 8



Downloads

Copyright © 2010
Microsoft Deutschland GmbH
Alle Rechte vorbehalten.

 Microsoft Deutschland GmbH
 




:: Premium-Partner ::

Webhosting/Serverlösungen


Premium-Partner MECO Systemhaus GmbH & Co. KG
Premium-Partner PSW GROUP GmbH & Co. KG
Premium-Partner BPI-Systeme
Premium-Partner Pixel X
Premium-Partner
 

:: SELFPHP Sponsoren ::


DM Solutions
Microsoft Deutschland GmbH
twosteps.net - ...Premium-Webhosting
Sedo - Bei uns wird PHP großgeschrieben
hostfactory.ch - OptimaNet Schweiz AG
ZEND - The PHP Company
Kaspersky Labs
HighText iBusiness
SELFPHP Sponsoren
 

Qozido


© 2001-2013 E-Mail SELFPHP OHG, info@selfphp.deImpressumKontakt