Fix typos

This commit is contained in:
Marcello 2021-09-20 19:35:32 +02:00
parent 76550dfa3c
commit 5c0799df7f
118 changed files with 1150 additions and 1602 deletions

View file

@ -13,7 +13,7 @@ The word *winfx* refers to a name once used for the .NET Framework 3.0, which in
The `x:Class` attribute can appear only on the root element of a XAML file. It specifies the .NET namespace and name of a derived class. The base class of this derived class is the root element.
In other words, this `x:Class` specification indicates that the `App` class in the `AppName` namespace derives from `Application`.
Thats exactly the same information as the `App` class definition in the `App.xaml.cs` file.
That's exactly the same information as the `App` class definition in the `App.xaml.cs` file.
```xml
<?xml version="1.0" encoding="utf-8" ?>
@ -31,7 +31,7 @@ Thats exactly the same information as the `App` class definition in the `App.
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="AppName.App">
<!-- collection of shared resources definiions -->
<!-- collection of shared resources definitions -->
<Application.Resources>
<!-- Application resource dictionary -->
@ -42,7 +42,7 @@ Thats exactly the same information as the `App` class definition in the `App.
<!-- define a reusable style -->
<Style x:Key="Style Name" TargetType="Element Type">
<!-- set poperties of the style -->
<!-- set properties of the style -->
<Setter Property="PropertyName" Value="PropertyValue">
</Style>

View file

@ -52,7 +52,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte
- StackLayout: Organizes views linearly, either horizontally or vertically.
- AbsoluteLayout: Organizes views by setting coordinates & size in terms of absolute values or ratios.
- RelativeLayout: Organizes views by setting constraints relative to their parents dimensions & position.
- RelativeLayout: Organizes views by setting constraints relative to their parent's dimensions & position.
- Grid: Organizes views in a grid of Rows and Columns
- FlexLayout: Organizes views horizontally or vertically with wrapping.
- ScrollView: Layout that's capable of scrolling its content.
@ -60,7 +60,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte
### Grid Layout
```xml
<!-- "<num>*" makes the dimesions proportional -->
<!-- "<num>*" makes the dimensions proportional -->
<Gird.RowDefinitions>
<!-- insert a row in the layout -->
<RowDefinition Height="2*"/>
@ -76,11 +76,11 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte
```xml
<Image Source="" BackgroundColor="" [LayoutPosition]/>
<!-- source contains reference to imagefile in Xamarin.[OS]/Resources/drawable -->
<!-- source contains reference to image file in Xamarin.[OS]/Resources/drawable -->
<!-- box to insert text -->
<Editor Placeholder="placeholder text" [LayoutPosition]/>
<!-- clickable button -->
<Button Text="button text" BackgroundColor="" Clicked="function_to_call" [LayoytPosition]/>
<Button Text="button text" BackgroundColor="" Clicked="function_to_call" [LayoutPosition]/>
```

View file

@ -27,7 +27,7 @@ namespace AppName.ViewModels
field = value;
var args = new PropertyChangedEventArgs(nameof(Property)); // EVENT: let view know that the Property has changed
PropertyChanged?.Invoke(this, args); // Ivoke event to notify the view
PropertyChanged?.Invoke(this, args); // Invoke event to notify the view
}
}
}