gid controls in silverlight 2.0
Upcoming SlideShare
Loading in...5
×
 

gid controls in silverlight 2.0

on

  • 605 views

 

Statistics

Views

Total Views
605
Views on SlideShare
605
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

gid controls in silverlight 2.0 gid controls in silverlight 2.0 Presentation Transcript

  • Grid control Presented by Remya N Sankar 06/30/09 Remya,Chipkidz
  • Grid Control • Essentially a table used for positioning objects in rows and columns • It can have multiple children, and acts rather like a spreadsheet. • It acts much like HTML's table tag and allows data and controls to be arranged in a tabular- style view. 06/30/09 Remya,Chipkidz
  • Grid Control • A row is the same height and a column is the same width across the entire Grid, • But elements can be made to span multiple cells • .Cells can contain more than one item. 06/30/09 Remya,Chipkidz
  • Grid Control • The placement of an element in the Grid is specified using attached DependencyProperties • Grid.Row, • Grid.Column, • Grid.RowSpan • Grid.ColumnSpan. 06/30/09 Remya,Chipkidz
  • Grid sizing • The size of rows and columns may be specified exactly, set to "auto", or use "star-sizing". • f a row or column is set to "auto", it will be just as tall or wide as its tallest or widest child. • In proportional sizing the value of a column or row is expressed in Xaml as *. <RowDefinition Height="*" > • you can give twice the space to one column or row as another by using 2* 06/30/09 Remya,Chipkidz
  • Example 06/30/09 Remya,Chipkidz
  • Example for Grid 06/30/09 Remya,Chipkidz
  • Thank you 06/30/09 Remya,Chipkidz