1. Silverlight Windows Phone
Silverlight
. . , . Silverlight . , , . .
Expression Blend, Visual Studio . Silverlight . "", .
Windows Phone SDK (Software Development Kit ) Visual Studio Expression Blend, .
Metro-
Windows Phone , Metro-. , , , , Windows Phone. , .
, , , Visual Studio, . , . , , Windows Phone . Metro-, :http://msdn.microsoft.com/ru-ru/library/hh202915.aspx.
Silverlight Visual Studio. , Expression Blend, .
Silverlight
. . , :
public class Account
|
|
{
private decimal balance;
private string name;
public string GetName()
{
return name;
}
public bool SetName(string newName)
{
//
name = newName;
return true;
}
// get set
}
( balance) ( name). new:
Account rob = new Account();
rob.SetName("Rob");
Account rob. "Rob". , . . : , , .
. 1 , . , .
UIElement, . :
1. . (Application Title).
2. . (Page Title).
3. , .
4. , "+".
5. , .
6. , .
7. , .
, . , , , .
. 1.
:
1. TextBox .
2. TextBlock , .
3. Button , .
: , , , , . , TextBox . , . 2.
Silverlight. UIElement , , . .
UIElement FrameworkElement, , . . .
. , TextBox . , Silverlight , , .
|
|
. 2. Silverlight
, . Silverlight , .