You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/maui/markup/markup.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ For further details on the possible options for the `Size` method refer to the [
45
45
46
46
### In-depth example
47
47
48
-
This example creates a `Grid` object, with child `Label` and `Entry` objects. The `Label` displays text, and the `Entry` data binds to the `RegistrationCode` property of the viewmodel. Each child view is set to appear in a specific row in the `Grid`, and the `Entry` spans all the columns in the `Grid`. In addition, the height of the `Entry` is set, along with its keyboard, colors, the font size of its text, and its `Margin`.
48
+
This example creates a [`Grid`](xref:Microsoft.Maui.Controls.Grid) object, with child [`Label`](xref:Microsoft.Maui.Controls.Label) and [`Entry`](xref:Microsoft.Maui.Controls.Entry) objects. The `Label` displays text, and the `Entry` data binds to the `RegistrationCode` property of the viewmodel. Each child view is set to appear in a specific row in the `Grid`, and the `Entry` spans all the columns in the `Grid`. In addition, the height of the `Entry` is set, along with its keyboard, colors, the font size of its text, and its `Margin`.
49
49
50
50
C# Markup extensions also allow developers to define names for Columns and Rows (e.g. `Column.Input`) using an `enum`.
51
51
@@ -97,12 +97,12 @@ class SampleContentPage : ContentPage
97
97
98
98
## Converters
99
99
100
-
The C# Markup package provides the ability to define `IValueConverter` and `IMultiValueConverter` implementations inline when building your applications UI.
100
+
The C# Markup package provides the ability to define [`IValueConverter`](xref:Microsoft.Maui.Controls.IValueConverter) and [`IMultiValueConverter`](xref:Microsoft.Maui.Controls.IMultiValueConverter) implementations inline when building your applications UI.
101
101
102
102
| Converter | Description |
103
103
| --------- | ----------- |
104
-
|[`FuncConverter`](converters/func-converter.md)| The `FuncConverter` provides the ability to define an `IValueConverter` implementation inline when build your UI. |
105
-
|[`FuncMultiConverter`](converters/func-multi-converter.md)| The `FuncMultiConverter` provides the ability to define an `IMultiValueConverter` implementation inline when build your UI. |
104
+
|[`FuncConverter`](converters/func-converter.md)| The `FuncConverter` provides the ability to define an [`IValueConverter`](xref:Microsoft.Maui.Controls.IValueConverter) implementation inline when build your UI. |
105
+
|[`FuncMultiConverter`](converters/func-multi-converter.md)| The `FuncMultiConverter` provides the ability to define an [`IMultiValueConverter`](xref:Microsoft.Maui.Controls.IMultiValueConverter) implementation inline when build your UI. |
106
106
107
107
## Extensions
108
108
@@ -111,20 +111,20 @@ The C# Markup package provides the ability to define `IValueConverter` and `IMul
111
111
112
112
| Extension | Description |
113
113
| --------- | ----------- |
114
-
|[`AbsoluteLayout`](extensions/absolute-layout-extensions.md)| The AbsoluteLayout extensions provide a series of extension methods that support positioning `View`s in `AbsoluteLayout`s. |
114
+
|[`AbsoluteLayout`](extensions/absolute-layout-extensions.md)| The AbsoluteLayout extensions provide a series of extension methods that support positioning [`View`](xref:Microsoft.Maui.Controls.View)s in [`AbsoluteLayout`](xref:Microsoft.Maui.Controls.AbsoluteLayout)s. |
115
115
|[`AutomationProperties`](extensions/automation-properties.md)| The `AutomationProperties` extensions provide a series of extension methods that support the configuring of accessibility related settings. |
116
116
|[`BindableLayout`](extensions/bindable-layout-extensions.md)| The `BindableLayout` extensions provide a series of extension methods that support configuring its `EmptyView`, `ItemSource` and `ItemTemplate`. |
117
-
|[`BindableObject`](extensions/bindable-object-extensions.md)| The `BindableObject` extensions provide a series of extension methods that support configuring `Binding`s on a `BindableObject`. |
117
+
|[`BindableObject`](extensions/bindable-object-extensions.md)| The [`BindableObject`](xref:Microsoft.Maui.Controls.BindableObject) extensions provide a series of extension methods that support configuring [`Binding`](xref:Microsoft.Maui.Controls.Binding)s on a [`BindableObject`](xref:Microsoft.Maui.Controls.BindableObject). |
118
118
|[`DynamicResourceHandler`](extensions/dynamic-resource-handler-extensions.md)| The `DynamicResourceHandler` extensions provide a series of extension methods that support configuring `IDynamicResourceHandler` which can be used to theme an App. |
119
-
|[`Element`](extensions/element-extensions.md)| The `Element` extensions provide a series of extension methods that support configuring the padding, effects, font attributes, dynamic resources, text, and text color of an `Element`. |
120
-
|[`FlexLayout`](extensions/flex-layout-extensions.md)| The FlexLayout extensions provide a series of extension methods that support positioning a `View` in a `FlexLayout`. |
119
+
|[`Element`](extensions/element-extensions.md)| The [`Element`](xref:Microsoft.Maui.Controls.Element) extensions provide a series of extension methods that support configuring the padding, effects, font attributes, dynamic resources, text, and text color of an [`Element`](xref:Microsoft.Maui.Controls.Element). |
120
+
|[`FlexLayout`](extensions/flex-layout-extensions.md)| The FlexLayout extensions provide a series of extension methods that support positioning a [`View`](xref:Microsoft.Maui.Controls.View) in a [`FlexLayout`](xref:Microsoft.Maui.Controls.FlexLayout). |
121
121
|[`Grid`](extensions/grid-extensions.md)| The Grid extensions provide a series of extension methods that support configuring a Grid. |
122
-
|[`Image`](extensions/image-extensions.md)| The `Image` extensions provide a series of extension methods that support configuring `IImage` controls. |
123
-
|[`ItemsView`](extensions/itemsview-extensions.md)| The `ItemsView` extensions provide a series of extension methods that support configuring `ItemsView` controls such as `CarouselView` and `CollectionView`. |
124
-
|[`Label`](extensions/label-extensions.md)| The `Label` extensions provide a series of extension methods that support configuring `Label` controls. |
125
-
|[`Placeholder`](extensions/placeholder-extensions.md)| The `Placeholder` extensions provide a series of extension methods that support configuring `IPlaceholder` controls. |
122
+
|[`Image`](extensions/image-extensions.md)| The [`Image`](xref:Microsoft.Maui.Controls.Image) extensions provide a series of extension methods that support configuring [`IImage`](xref:Microsoft.Maui.IImage) controls. |
123
+
|[`ItemsView`](extensions/itemsview-extensions.md)| The [`ItemsView`](xref:Microsoft.Maui.Controls.ItemsView) extensions provide a series of extension methods that support configuring [`ItemsView`](xref:Microsoft.Maui.Controls.ItemsView) controls such as [`CarouselView`](xref:Microsoft.Maui.Controls.CarouselView) and [`CollectionView`](xref:Microsoft.Maui.Controls.CollectionView). |
124
+
|[`Label`](extensions/label-extensions.md)| The [`Label`](xref:Microsoft.Maui.Controls.Label) extensions provide a series of extension methods that support configuring [`Label`](xref:Microsoft.Maui.Controls.Label) controls. |
125
+
|[`Placeholder`](extensions/placeholder-extensions.md)| The `Placeholder` extensions provide a series of extension methods that support configuring [`IPlaceholder`](xref:Microsoft.Maui.IPlaceholder) controls. |
126
126
|[`SemanticProperties`](extensions/semantic-properties.md)| The `SemanticProperties` extensions provide a series of extension methods that support the configuring of accessibility related settings. |
127
-
|[`Style`](extensions/style.md)|`Style<T>` provides a series of fluent extension methods that support configuring `Microsoft.Maui.Controls.Style`. |
128
-
|[`TextAlignment`](extensions/text-alignment-extensions.md)| The `TextAlignment` extensions provide a series of extension methods that support configuring the `HorizontalTextAlignment` and `VeticalTextAlignment` properties on controls implementing `ITextAlignment`. |
129
-
|[`View`](extensions/view-extensions.md)| The `View` extensions provide a series of extension methods that support configuring the alignment of controls inheriting from `View`. |
130
-
|[`VisualElement`](extensions/visual-element-extensions.md)| The `VisualElement` extensions provide a series of extension methods that support configuring the sizing, styling and behaviors of a `VisualElement`. |
127
+
|[`Style`](extensions/style.md)|`Style<T>` provides a series of fluent extension methods that support configuring [`Microsoft.Maui.Controls.Style`](xref:Microsoft.Maui.Controls.Style). |
128
+
|[`TextAlignment`](extensions/text-alignment-extensions.md)| The `TextAlignment` extensions provide a series of extension methods that support configuring the `HorizontalTextAlignment` and `VeticalTextAlignment` properties on controls implementing [`ITextAlignment`](xref:Microsoft.Maui.ITextAlignment). |
129
+
|[`View`](extensions/view-extensions.md)| The [`View`](xref:Microsoft.Maui.Controls.View) extensions provide a series of extension methods that support configuring the alignment of controls inheriting from [`View`](xref:Microsoft.Maui.Controls.View). |
130
+
|[`VisualElement`](extensions/visual-element-extensions.md)| The [`VisualElement`](xref:Microsoft.Maui.Controls.VisualElement) extensions provide a series of extension methods that support configuring the sizing, styling and behaviors of a [`VisualElement`](xref:Microsoft.Maui.Controls.VisualElement). |
0 commit comments