What is XAML?
XAML --> Extensible Markup Language. XAML is very easy in use and it is tag based language. There are different tags that do their work. Today, I am going to give detail some of the tags of XAML, because they are easy to use and understand, and 1 can learn them easily. Before starting 1 thing kept in mind that it is tag based and when we open a tag mostly it is necessary to close the same tag as same in HTML. First of all we start from the easy and then move to some difficult. Tags are follow as below:
1. How to display a piece of word/Line/Whatever on the Screen?
Answer:
- <TextBlock>HelloWorld!</TextBlock>
2. How we craete a Menu?
Answer:
- <Menu IsMainMenu="True"></Menu>
- <MenuItem Header="_File" />
- <MenuItem Header="_Edit" />
- <MenuItem Header="_View" />
- <MenuItem Header="_Window" />
And then we close the Menu tag.
3. How to add Secretors in the List?
Answer:
- <Separator>......</Separator>
- <Menu>
- <MenuItem Header="_File">
- <MenuItem Header="_New..." />
- <Separator />
- <MenuItem Header="_Open..." />
- <Separator />
- <MenuItem Header="_Save" />
- <MenuItem Header="_Save As..." />
- <Separator />
- <MenuItem Header="_Exit" />
- </MenuItem>
- </Menu>
4. How XAML works/deal with Password?
Answer:
- <Label Content="Password:" />
- <PasswordBox x:Name="abc" Width="90" />
Some of the function related. So use/try them by your own:
- <PasswordBox x:Name="ahtasham" PasswordChar="*" />
- <PasswordBox x:Name="abc" MaxLength="10 />
Answer:
- <Label Name="ahtasham" idth="200" Height="24FontSize="5" FontFamily="Georgia"/>

Vishnu ReddyPosted Sep 4, 2017, 2:51 AM
Good explanation very easy to understand
Hashim ShafiqPosted May 22, 2016, 4:19 AM
Good work :D
Mahrukh HanifPosted May 21, 2016, 6:11 PM
Thankyou. This is easily understandable. Good work. (y)
Ammar ShaukatPosted Sep 30, 2015, 12:08 PM
Good Work..
Ahtasham HassanPosted Sep 19, 2015, 8:12 PM
Thanks
Santhakumar MunuswamyPosted Aug 29, 2015, 5:27 AM
Nice. Thanks for sharing