SlideShare a Scribd company logo
Introduction to UI, UX and XAML
Prepared and Presented by
Amira Sherif
Aya Zakaria
Nehal Tarek
Wagdy Mohamed
Agenda
UI and UX
What is XAML ?
Element positioning
Container controls overview
More in XAML
Different? Or the Same?
What is XAML ?
Extensible Application Markup Language
Markup Language
A markup language is computer
language that uses tags to define
elements within a documents.
TAG
< … />
Element positioning
Vertical alignment
Horizontal alignment
Margin
Padding
Alignment & Margin
Vertical Alignment(Top, Center, Bottom, Stretch)
Horizontal Alignment(Left, Center, Right, Stretch)
Margin= “Left, Top, Right, Bottom”
Padding
<Border Width="300" Height="300"
Background="white" Padding="20"
BorderThickness="20" BorderBrush="Blue" >
<Rectangle Fill="Brown" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch" />
</Border>
Container control overview
Grid
Stack panel
Canvas
Grid
Grid row definition
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
Grid
Grid Column definition
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="100"/>
</Grid.ColumnDefinitions>
Grid
Access rows & columns
<Rectangle Fill="Red"/>
<Rectangle Fill="Blue" Grid.Row="0" Grid.Column="1"/>
<Rectangle Fill="Orange" Grid.Row="1" />
<Rectangle Fill="White" Grid.Row="1" Grid.Column="1"/>
<Rectangle Fill="Aqua" Grid.Row="2"/>
</Grid>
Grid
Grid Background
<Grid>
<Grid.Background>
<ImageBrush Stretch="Fill“
ImageSource="Assets/Logo1.png"/>
</Grid.Background>
</Grid>
Stack Panel
<StackPanel Background="Black"
Orientation="Horizontal“ HorizontalAlignment="Left"
Height="300" Margin="555,362,0,0"
VerticalAlignment="Top" Width="300">
<Rectangle Fill="Blue" Height="100" Width="100"/>
<Rectangle Fill="White" Height="100" Width="100"/>
<Rectangle Fill="Yellow" Height="100" Width="100"/>
</StackPanel>
Canvas
<Canvas Background=“Black”
HorizontalAlignment="Left" Height="245"
Margin="1031,491,0,0" VerticalAlignment="Top"
Width="287">
<Rectangle Fill="blue" Width="80"
Height="80"/>
<Rectangle Fill="White" Width="80"
Height="80" Canvas.Left="80" Canvas.Top="80"/>
<Rectangle Fill="Red" Width="80"
Height="80" Canvas.Left="160"
Canvas.Top="160"/>
</Canvas>
More in XAML
Hyper Link
<HyperlinkButton Content="CairoTC"
NavigateUri=
"https://www.facebook.com/CairoTC"
Foreground="Black" FontSize="40"
Margin="882,1,0,693" Height="74"
Width="190"/>
More in XAML
Image
<Image Height="200"
Source="Assets/Logo1.png" Stretch="Uniform"
Margin="629,24,358,544“ Opacity=“0.2”/>
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Interaction Designers" Fourth Session
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Interaction Designers" Fourth Session

More Related Content

Viewers also liked

emotionalintelligence
emotionalintelligenceemotionalintelligence
emotionalintelligence
Mina Magdy
 
Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15
Radwa Mohamed
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Wagdy Mohamed
 
Sucess
SucessSucess
Sucess
Mina Magdy
 
First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15
Ahmed Saeed
 
Session 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CUSession 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CU
Radwa Mohamed
 
Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15
Ahmed Saeed
 
Session5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skillsSession5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skills
Ahmed Saeed
 
Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15
Ahmed Saeed
 
Problem solving
Problem solvingProblem solving
Problem solving
Mina Magdy
 
session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15
Radwa Mohamed
 
Self Confidence
Self ConfidenceSelf Confidence
Self Confidence
Tom Clowers
 
Self Confidence Presentation for BBA students
Self Confidence Presentation for BBA studentsSelf Confidence Presentation for BBA students
Self Confidence Presentation for BBA students
Bilal Khan
 
Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15
Radwa Mohamed
 
21 Hacks For Self-Confidence
21 Hacks For Self-Confidence21 Hacks For Self-Confidence
21 Hacks For Self-Confidence
Barrie Davenport
 
Building self confidence
Building self confidenceBuilding self confidence
Building self confidence
Mukul Kumar
 
20 Ways To Stoke Your Self-Confidence
20 Ways To Stoke Your Self-Confidence20 Ways To Stoke Your Self-Confidence
20 Ways To Stoke Your Self-Confidence
Barrie Davenport
 
Personality Development
Personality DevelopmentPersonality Development
Personality Development
Ashwin
 

Viewers also liked (18)

emotionalintelligence
emotionalintelligenceemotionalintelligence
emotionalintelligence
 
Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
 
Sucess
SucessSucess
Sucess
 
First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15
 
Session 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CUSession 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CU
 
Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15
 
Session5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skillsSession5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skills
 
Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15
 
Problem solving
Problem solvingProblem solving
Problem solving
 
session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15
 
Self Confidence
Self ConfidenceSelf Confidence
Self Confidence
 
Self Confidence Presentation for BBA students
Self Confidence Presentation for BBA studentsSelf Confidence Presentation for BBA students
Self Confidence Presentation for BBA students
 
Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15
 
21 Hacks For Self-Confidence
21 Hacks For Self-Confidence21 Hacks For Self-Confidence
21 Hacks For Self-Confidence
 
Building self confidence
Building self confidenceBuilding self confidence
Building self confidence
 
20 Ways To Stoke Your Self-Confidence
20 Ways To Stoke Your Self-Confidence20 Ways To Stoke Your Self-Confidence
20 Ways To Stoke Your Self-Confidence
 
Personality Development
Personality DevelopmentPersonality Development
Personality Development
 

Similar to Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Interaction Designers" Fourth Session

Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
PAPIs.io
 
Xaml programming
Xaml programmingXaml programming
Xaml programming
Senthamil Selvan
 
Cape Town MS Developer User Group: Xamarin Community Toolkit
Cape Town MS Developer User Group: Xamarin Community ToolkitCape Town MS Developer User Group: Xamarin Community Toolkit
Cape Town MS Developer User Group: Xamarin Community Toolkit
Javier Suárez Ruiz
 
XAML and WPF - Dinko Jakovljević
XAML and WPF - Dinko JakovljevićXAML and WPF - Dinko Jakovljević
XAML and WPF - Dinko Jakovljević
Software StartUp Academy Osijek
 
Accessibility and css - Lisa Seeman
Accessibility and css - Lisa SeemanAccessibility and css - Lisa Seeman
Accessibility and css - Lisa Seeman
Israeli Internet Association technology committee
 

Similar to Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Interaction Designers" Fourth Session (6)

Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
Automating Machine Learning Workflows: A Report from the Trenches - Jose A. O...
 
Xaml programming
Xaml programmingXaml programming
Xaml programming
 
Cape Town MS Developer User Group: Xamarin Community Toolkit
Cape Town MS Developer User Group: Xamarin Community ToolkitCape Town MS Developer User Group: Xamarin Community Toolkit
Cape Town MS Developer User Group: Xamarin Community Toolkit
 
XAML and WPF - Dinko Jakovljević
XAML and WPF - Dinko JakovljevićXAML and WPF - Dinko Jakovljević
XAML and WPF - Dinko Jakovljević
 
Accessibility and css - Lisa Seeman
Accessibility and css - Lisa SeemanAccessibility and css - Lisa Seeman
Accessibility and css - Lisa Seeman
 

Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Interaction Designers" Fourth Session