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: maui-toolkit/Bottom-Sheet/BottomSheet-Content.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
layout: post
3
3
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.
5
5
platform: maui-toolkit
6
-
control: BottomSheet
7
-
documentation: ug
6
+
control: SfBottomSheet
7
+
documentation: UG
8
8
---
9
9
10
10
# Set Main Content and Bottom Sheet Content in .NET MAUI Bottom Sheet
11
11
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.
13
13
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.
Copy file name to clipboardExpand all lines: maui-toolkit/Bottom-Sheet/Events.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
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.
5
5
platform: maui-toolkit
6
-
control: BottomSheet
7
-
documentation: ug
6
+
control: SfBottomSheet
7
+
documentation: UG
8
8
---
9
9
10
-
# Event in .NET MAUI Bottom Sheet (SfBottomSheet)
10
+
# Events in .NET MAUI Bottom Sheet (SfBottomSheet)
11
11
12
12
## StateChanged event
13
13
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:
15
15
16
16
*`NewValue` : Gets the current state of the Bottom Sheet.
17
17
*`OldValue` : Gets the previous state of the Bottom Sheet.
Copy file name to clipboardExpand all lines: maui-toolkit/Bottom-Sheet/Getting-Started.md
+35-35Lines changed: 35 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
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.
5
5
platform: maui-toolkit
6
-
control: BottomSheet
7
-
documentation: ug
6
+
control: SfBottomSheet
7
+
documentation: UG
8
8
---
9
9
10
10
# Getting Started with .NET MAUI Bottom Sheet
11
11
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.
13
13
14
14
To quickly get started with the .NET MAUI Bottom Sheet, watch this video.
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
71
71
@@ -95,18 +95,18 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
95
95
96
96
Before proceeding, ensure the following are set up:
97
97
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.
99
99
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).
101
101
102
102
## Step 1: Create a new .NET MAUI project
103
103
104
104
1. Open the command palette by pressing `Ctrl+Shift+P` and type **.NET:New Project** and enter.
105
105
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**.
108
108
109
-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit Package
109
+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit package
110
110
111
111
1. Press <kbd>Ctrl</kbd> + <kbd>`</kbd> (backtick) to open the integrated terminal in Visual Studio Code.
112
112
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:
115
115
116
116
## Step 3: Register the handler
117
117
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.
@@ -142,7 +142,7 @@ public static class MauiProgram
142
142
{% endhighlight %}
143
143
{% endtabs %}
144
144
145
-
## Step 4: Add a Basic BottomSheet
145
+
## Step 4: Add a basic Bottom Sheet
146
146
147
147
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
148
148
@@ -174,24 +174,24 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
174
174
Before proceeding, ensure the following are set up:
175
175
176
176
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).
179
179
180
-
## Step 1: Create a new .NET MAUI Project
180
+
## Step 1: Create a new .NET MAUI project
181
181
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.
183
183
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**.
185
185
186
-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit NuGet Package
186
+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit NuGet package
187
187
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**.
189
189
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`.
191
191
192
192
## Step 3: Register the handler
193
193
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.
@@ -218,7 +218,7 @@ public static class MauiProgram
218
218
{% endhighlight %}
219
219
{% endtabs %}
220
220
221
-
## Step 4: Add a Basic BottomSheet
221
+
## Step 4: Add a basic Bottom Sheet
222
222
223
223
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.BottomSheet` namespace into your code.
224
224
@@ -244,11 +244,11 @@ SfBottomSheet bottomSheet = new SfBottomSheet();
244
244
{% endtabcontent %}
245
245
{% endtabcontents %}
246
246
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.
249
249
250
250
### 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.
252
252
253
253
{% tabs %}
254
254
{% highlight C# tabtitle="Book.cs" %}
@@ -267,7 +267,7 @@ public class Book
267
267
{% endtabs %}
268
268
269
269
### 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:
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.
463
463
464
-

464
+

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.
5
5
platform: maui-toolkit
6
-
control: BottomSheet
7
-
documentation: ug
6
+
control: SfBottomSheet
7
+
documentation: UG
8
8
---
9
9
10
10
# .NET MAUI Bottom Sheet (SfBottomSheet) Overview
11
11
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.
13
13
14
14

15
15
16
-
## Key Features
16
+
## Key features
17
17
18
-
*`State` – Supports different states: FullExpanded, HalfExpanded, Collapsed, and Hidden.
18
+
*`State` – Supports various states such as FullExpanded, HalfExpanded, Collapsed, and Hidden.
19
19
20
-
*`AllowedState` – Supports allowed states: FullExpanded, HalfExpanded, and All.
20
+
*`AllowedState` – Allows states like FullExpanded, HalfExpanded, and All.
21
21
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.
Copy file name to clipboardExpand all lines: maui-toolkit/Bottom-Sheet/Swipe-Gesture.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
2
layout: post
3
3
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.
5
5
platform: maui-toolkit
6
-
control: BottomSheet
7
-
documentation: ug
6
+
control: SfBottomSheet
7
+
documentation: UG
8
8
---
9
9
# Swiping in .NET MAUI Bottom Sheet (SfBottomSheet)
10
10
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.
12
12
13
-
## Enable Swiping
13
+
## Enable swiping
14
14
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`.
0 commit comments