Skip to content

Commit f54fdc7

Browse files
Merge pull request #306 from syncfusion-content/958396-Update-UG-content
Reviewed the UG content for MAUI Core controls
2 parents 051168c + 993baf9 commit f54fdc7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+654
-634
lines changed

maui-toolkit/Bottom-Sheet/BottomSheet-Content.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
layout: post
33
title: Set Bottom Sheet Content in .NET MAUI Bottom Sheet | Syncfusion®
4-
description: Learn here all about setting bottom sheet content support in Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control.
4+
description: Learn about setting Bottom Sheet Content support in Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control.
55
platform: maui-toolkit
6-
control: BottomSheet
7-
documentation: ug
6+
control: SfBottomSheet
7+
documentation: UG
88
---
99

1010
# Set Main Content and Bottom Sheet Content in .NET MAUI Bottom Sheet
1111

12-
* The main content of the [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) is always visible and can be set using the [Content](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_Content) property.
12+
* The main content of the [Bottom Sheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) is always visible and can be set using the [Content](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_Content) property.
1313

14-
* The `BottomSheet` content is only viewable when the sheet is in the FullExpanded, HalfExpanded, or Collapsed state. Its content can be set as : [BottomSheetContent](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_BottomSheetContent).
14+
* The `Bottom Sheet` content is viewable only when the sheet is in the FullExpanded, HalfExpanded, or Collapsed state. Its content can be set using the [BottomSheetContent](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_BottomSheetContent) property.
1515

1616
{% tabs %}
1717
{% highlight xaml %}
@@ -126,4 +126,4 @@ private void OnListViewItemTapped(object? sender, ItemTappedEventArgs e)
126126
{% endhighlight %}
127127
{% endtabs %}
128128

129-
![BottomSheetContent Image for BottomSheet](images/bottomSheetContent.png)
129+
![BottomSheetContent for Bottom Sheet](images/bottomSheetContent.png)

maui-toolkit/Bottom-Sheet/BottomSheet-Customization.md

Lines changed: 60 additions & 45 deletions
Large diffs are not rendered by default.

maui-toolkit/Bottom-Sheet/Events.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
layout: post
3-
title: Events in .NET MAUI Bottom Sheet control | Syncfusion®
4-
description: Learn about event support in Syncfusion® Toolkit for .NET MAUI Bottom Sheet (SfBottomSheet) control and more.
3+
title: Events in .NET MAUI Bottom Sheet Control | Syncfusion®
4+
description: Learn about event support in the Syncfusion® Toolkit for .NET MAUI Bottom Sheet (SfBottomSheet) control and more.
55
platform: maui-toolkit
6-
control: BottomSheet
7-
documentation: ug
6+
control: SfBottomSheet
7+
documentation: UG
88
---
99

10-
# Event in .NET MAUI Bottom Sheet (SfBottomSheet)
10+
# Events in .NET MAUI Bottom Sheet (SfBottomSheet)
1111

1212
## StateChanged event
1313

14-
This event occurs when the value of the [State](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_State) property is changed by swiping the bottom sheet or setting the value to the State property using XAML or C# code. The event arguments are of type [StateChangedEventArgs](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.StateChangedEventArgs.html) and expose the following property:
14+
The `StateChanged` event is triggered when the [State](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_State) property of the Bottom Sheet changes. This can occur either through user interaction, such as swiping the Bottom Sheet, or programmatically by setting the State property using XAML or C# code. The event's arguments are of type [StateChangedEventArgs](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.StateChangedEventArgs.html) and provide the following properties:
1515

1616
* `NewValue` : Gets the current state of the Bottom Sheet.
1717
* `OldValue` : Gets the previous state of the Bottom Sheet.

maui-toolkit/Bottom-Sheet/Getting-Started.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Getting started with .NET MAUI Bottom Sheet control | Syncfusion®
4-
description: Learn here about getting started with Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control in your cross-platform applications.
3+
title: Getting started with .NET MAUI Bottom Sheet Control | Syncfusion®
4+
description: Learn how to get started with the Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control in your cross-platform applications.
55
platform: maui-toolkit
6-
control: BottomSheet
7-
documentation: ug
6+
control: SfBottomSheet
7+
documentation: UG
88
---
99

1010
# Getting Started with .NET MAUI Bottom Sheet
1111

12-
This section provides a quick overview of how to get started with the [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) for .NET MAUI and a walk-through to configure the .NET MAUI Bottom Sheet in a real-time scenario. Follow the steps below to add .NET MAUI Bottom Sheet to your project.
12+
This section provides a comprehensive overview of how to get started with the [Bottom Sheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) for .NET MAUI and illustrates how to configure the .NET MAUI Bottom Sheet in a real-time scenario. Follow the steps below to add the .NET MAUI Bottom Sheet to your project.
1313

1414
To quickly get started with the .NET MAUI Bottom Sheet, watch this video.
1515
{% youtube "https://www.youtube.com/watch?v=ZBKnPe7NkIc" %}
@@ -21,24 +21,24 @@ To quickly get started with the .NET MAUI Bottom Sheet, watch this video.
2121

2222
Before proceeding, ensure the following are set up:
2323

24-
1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later is installed.
24+
1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later.
2525
2. Set up a .NET MAUI environment with Visual Studio 2022 (v17.8 or later).
2626

2727
## Step 1: Create a new .NET MAUI project
2828

2929
1. Go to **File > New > Project** and choose the **.NET MAUI App** template.
30-
2. Name the project and choose a location. Then, click **Next.**
31-
3. Select the .NET framework version and click **Create.**
30+
2. Name the project and choose a location. Then, click **Next**.
31+
3. Select the .NET framework version and click **Create**.
3232

33-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit Package
33+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit package
3434

35-
1. In **Solution Explorer,** right-click the project and choose **Manage NuGet Packages.**
35+
1. In **Solution Explorer**, right-click the project and choose **Manage NuGet Packages**.
3636
2. Search for [Syncfusion.Maui.Toolkit](https://www.nuget.org/packages/Syncfusion.Maui.Toolkit/) and install the latest version.
3737
3. Ensure the necessary dependencies are installed correctly, and the project is restored.
3838

3939
## Step 3: Register the handler
4040

41-
In the MauiProgram.cs file, register the handler for Syncfusion<sup>®</sup> Toolkit.
41+
In the `MauiProgram.cs` file, register the handler for the Syncfusion<sup>®</sup> Toolkit.
4242

4343
{% tabs %}
4444
{% highlight C# tabtitle="MauiProgram.cs" hl_lines="1 9" %}
@@ -65,7 +65,7 @@ public static class MauiProgram
6565
{% endhighlight %}
6666
{% endtabs %}
6767

68-
## Step 4: Add a Basic BottomSheet
68+
## Step 4: Add a basic Bottom Sheet
6969

7070
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
7171

@@ -95,18 +95,18 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
9595

9696
Before proceeding, ensure the following are set up:
9797

98-
1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later is installed.
98+
1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later.
9999
2. Set up a .NET MAUI environment with Visual Studio Code.
100-
3. Ensure that the .NET MAUI extension is installed and configured as described [here.](https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?view=net-maui-8.0&tabs=visual-studio-code)
100+
3. Ensure that the .NET MAUI extension is installed and configured as described [here](https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?view=net-maui-8.0&tabs=visual-studio-code).
101101

102102
## Step 1: Create a new .NET MAUI project
103103

104104
1. Open the command palette by pressing `Ctrl+Shift+P` and type **.NET:New Project** and enter.
105105
2. Choose the **.NET MAUI App** template.
106-
3. Select the project location, type the project name and press **Enter.**
107-
4. Then choose **Create project.**
106+
3. Select the project location, type the project name and press **Enter**.
107+
4. Then choose **Create project**.
108108

109-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit Package
109+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit package
110110

111111
1. Press <kbd>Ctrl</kbd> + <kbd>`</kbd> (backtick) to open the integrated terminal in Visual Studio Code.
112112
2. Ensure you're in the project root directory where your .csproj file is located.
@@ -115,7 +115,7 @@ Before proceeding, ensure the following are set up:
115115

116116
## Step 3: Register the handler
117117

118-
In the MauiProgram.cs file, register the handler for Syncfusion<sup>®</sup> Toolkit.
118+
In the `MauiProgram.cs` file, register the handler for the Syncfusion<sup>®</sup> Toolkit.
119119

120120
{% tabs %}
121121
{% highlight C# tabtitle="MauiProgram.cs" hl_lines="1 9" %}
@@ -142,7 +142,7 @@ public static class MauiProgram
142142
{% endhighlight %}
143143
{% endtabs %}
144144

145-
## Step 4: Add a Basic BottomSheet
145+
## Step 4: Add a basic Bottom Sheet
146146

147147
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
148148

@@ -174,24 +174,24 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
174174
Before proceeding, ensure the following are set up:
175175

176176
1. Ensure you have the latest version of JetBrains Rider.
177-
2. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later is installed.
178-
3. Make sure the MAUI workloads are installed and configured as described [here.](https://www.jetbrains.com/help/rider/MAUI.html#before-you-start)
177+
2. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later.
178+
3. Make sure the MAUI workloads are installed and configured as described [here](https://www.jetbrains.com/help/rider/MAUI.html#before-you-start).
179179

180-
## Step 1: Create a new .NET MAUI Project
180+
## Step 1: Create a new .NET MAUI project
181181

182-
1. Go to **File > New Solution,** Select .NET (C#) and choose the .NET MAUI App template.
182+
1. Go to **File > New Solution**, select .NET (C#) and choose the .NET MAUI App template.
183183
2. Enter the Project Name, Solution Name, and Location.
184-
3. Select the .NET framework version and click Create.
184+
3. Select the .NET framework version and click **Create**.
185185

186-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit NuGet Package
186+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit NuGet package
187187

188-
1. In **Solution Explorer,** right-click the project and choose **Manage NuGet Packages.**
188+
1. In **Solution Explorer**, right-click the project and choose **Manage NuGet Packages**.
189189
2. Search for [Syncfusion.Maui.Toolkit](https://www.nuget.org/packages/Syncfusion.Maui.Toolkit/) and install the latest version.
190-
3. Ensure the necessary dependencies are installed correctly, and the project is restored. If not, Open the Terminal in Rider and manually run: `dotnet restore`
190+
3. Ensure the necessary dependencies are installed correctly, and the project is restored. If not, open the Terminal in Rider and manually run: `dotnet restore`.
191191

192192
## Step 3: Register the handler
193193

194-
In the MauiProgram.cs file, register the handler for Syncfusion<sup>®</sup> Toolkit.
194+
In the `MauiProgram.cs` file, register the handler for the Syncfusion<sup>®</sup> Toolkit.
195195

196196
{% tabs %}
197197
{% highlight C# tabtitle="MauiProgram.cs" hl_lines="1 9" %}
@@ -218,7 +218,7 @@ public static class MauiProgram
218218
{% endhighlight %}
219219
{% endtabs %}
220220

221-
## Step 4: Add a Basic BottomSheet
221+
## Step 4: Add a basic Bottom Sheet
222222

223223
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
224224

@@ -244,11 +244,11 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
244244
{% endtabcontent %}
245245
{% endtabcontents %}
246246

247-
## Add a BottomSheet with Detailed Content
248-
The following code demonstrates how to add a bottom sheet that displays detailed book information. It uses a ViewModel for effective data binding to ensure seamless updates and interaction.
247+
## Add a Bottom Sheet with detailed content
248+
The following code demonstrates how to add a Bottom Sheet that displays detailed book information. It uses a ViewModel for effective data binding to ensure seamless updates and interaction.
249249

250250
### Model
251-
Create a simple data model as shown in the following code example, and save it as Book.cs file.
251+
Create a simple data model and save it as `Book.cs` file.
252252

253253
{% tabs %}
254254
{% highlight C# tabtitle="Book.cs" %}
@@ -267,7 +267,7 @@ public class Book
267267
{% endtabs %}
268268

269269
### View Model
270-
Next, create a model repository class with Books collection property initialized with required number of data objects in a new class file as shown in the following code example, and save it as BookViewModel.cs file:
270+
Create a model repository class with a `Books` collection property initialized with a set of data objects, and save it as `BookViewModel.cs` file:
271271

272272
{% tabs %}
273273
{% highlight C# tabtitle="BookViewModel.cs" %}
@@ -459,6 +459,6 @@ private void OnListViewItemTapped(object? sender, ItemTappedEventArgs e)
459459
{% endhighlight %}
460460
{% endtabs %}
461461

462-
N> Using [Content](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_Content), Place the main content inside the bottom sheet's `Content` property. Without using `Content`, Place the main content outside the [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html), making sure the bottom sheet is the last element in the Grid layout.
462+
N> Using [Content](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_Content), place the main content inside the Bottom Sheet's `Content` property. Without using `Content`, place the main content outside the [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html), ensuring that the Bottom Sheet is the last element in the Grid layout.
463463

464-
![Getting Started Image for BottomSheet](images/gettingStarted.png)
464+
![Getting Started with Bottom Sheet](images/gettingStarted.png)
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
layout: post
3-
title: About .NET MAUI Botton Sheet control | Syncfusion®
4-
description: Learn here all about introduction of Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control and more.
3+
title: About .NET MAUI Bottom Sheet Control | Syncfusion®
4+
description: Learn about the introduction to Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control and its features.
55
platform: maui-toolkit
6-
control: BottomSheet
7-
documentation: ug
6+
control: SfBottomSheet
7+
documentation: UG
88
---
99

1010
# .NET MAUI Bottom Sheet (SfBottomSheet) Overview
1111

12-
A `BottomSheet` control is a user interface component used in mobile and desktop applications that slides up from the bottom of the screen to display supplementary content or actions, allowing users to interact with additional information without navigating away from the main screen.
12+
A `Bottom Sheet` control is a user interface component used in mobile and desktop applications that slides up from the bottom of the screen. It allows users to interact with additional information or actions without navigating away from the main screen.
1313

1414
![.NET MAUI Bottom Sheet.](images/overview.png)
1515

16-
## Key Features
16+
## Key features
1717

18-
* `State` – Supports different states: FullExpanded, HalfExpanded, Collapsed, and Hidden.
18+
* `State` – Supports various states such as FullExpanded, HalfExpanded, Collapsed, and Hidden.
1919

20-
* `AllowedState`Supports allowed states: FullExpanded, HalfExpanded, and All.
20+
* `AllowedState`Allows states like FullExpanded, HalfExpanded, and All.
2121

22-
* `PopupMode` – The Bottom Sheet acts as a dialog page when setting `IsModal` to `true`, blocking interaction with the rest of the app’s UI.
22+
* `PopupMode` – The Bottom Sheet acts as a dialog page when `IsModal` is set to `true`, thereby blocking interaction with the rest of the app’s UI.

maui-toolkit/Bottom-Sheet/Swipe-Gesture.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
layout: post
33
title: Swiping in .NET MAUI Bottom Sheet | Syncfusion®
4-
description: Learn here all about swiping support in Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control and more.
4+
description: Learn about swiping support in the Syncfusion® .NET MAUI Bottom Sheet (SfBottomSheet) control and more.
55
platform: maui-toolkit
6-
control: BottomSheet
7-
documentation: ug
6+
control: SfBottomSheet
7+
documentation: UG
88
---
99
# Swiping in .NET MAUI Bottom Sheet (SfBottomSheet)
1010

11-
The [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) supports the swiping for expanding the sheet.
11+
The [Bottom Sheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html) supports swiping to expand the sheet.
1212

13-
## Enable Swiping
13+
## Enable swiping
1414

15-
The [EnableSwiping](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_EnableSwiping) property allows you to enable or disable swipe functionality in the [BottomSheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html). By default, the EnableSwiping property is set to `true`.
15+
The [EnableSwiping](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html#Syncfusion_Maui_Toolkit_BottomSheet_SfBottomSheet_EnableSwiping) property allows you to enable or disable swipe functionality in the [Bottom Sheet](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.BottomSheet.SfBottomSheet.html). By default, the EnableSwiping property is set to `true`.
1616

1717
{% tabs %}
1818
{% highlight xaml %}
@@ -44,4 +44,4 @@ private void OnListViewItemTapped(object? sender, ItemTappedEventArgs e)
4444

4545
{% endhighlight %}
4646

47-
![Swiping Image for BottomSheet](images/swiping.gif)
47+
![Swiping](images/swiping.gif)

0 commit comments

Comments
 (0)