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/Cartesian-Charts/Trackball.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -553,7 +553,7 @@ this.Content = chart;
553
553
554
554
### TrackballCreated
555
555
556
-
The [`TrackballCreated`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.SfCartesianChart.html#Syncfusion_Maui_Charts_SfCartesianChart_TrackballCreated) event occurs when the trackball moves from one data point to another. This argument contains an object of the ChartPointsInfo. The following properties are available in the `ChartPointInfo` class to customize the appearance of the trackball label based on a condition.
556
+
The [`TrackballCreated`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.SfCartesianChart.html#Syncfusion_Maui_Charts_SfCartesianChart_TrackballCreated) event occurs when the trackball moves from one data point to another. This argument contains an object of the `TrackballPointInfo`. The following properties are available in the [TrackballPointInfo](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.TrackballPointInfo.html) class to customize the appearance of the trackball label based on a condition.
557
557
558
558
*[Label](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.TrackballPointInfo.html#Syncfusion_Maui_Charts_TrackballPointInfo_Label) of type `string`: Used to change the text of the trackball label.
559
559
*[LabelStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.TrackballPointInfo.html#Syncfusion_Maui_Charts_TrackballPointInfo_LabelStyle) of type `ChartLabelStyle`: Used to customize the appearance of the trackball label.
Copy file name to clipboardExpand all lines: MAUI/Chat/Scrolling.md
+99-1Lines changed: 99 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,104 @@ By default, the [SfChat](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Cha
49
49
{% endhighlight %}
50
50
{% endtabs %}
51
51
52
+
## Scroll to bottom button
53
+
54
+
The `SfChat` control provides the option to display a scroll to bottom button by setting the `ShowScrollToBottomButton` property to `true`. This button appears when scrolled up through older messages and allows quick navigation back to the latest message in the conversation.
55
+
56
+
{% tabs %}
57
+
{% highlight xaml hl_lines="4" %}
58
+
<sfChat:SfChat x:Name="sfChat"
59
+
Messages="{Binding Messages}"
60
+
CurrentUser="{Binding CurrentUser}"
61
+
ShowScrollToBottomButton="True"/>
62
+
63
+
{% endhighlight %}
64
+
{% highlight c# hl_lines="5" %}
65
+
66
+
SfChat sfChat = new SfChat();
67
+
ViewModel viewModel = new ViewModel();
68
+
sfChat.Messages = viewModel.Messages;
69
+
sfChat.CurrentUser = viewModel.CurrentUser;
70
+
sfChat.ShowScrollToBottomButton = true;
71
+
72
+
{% endhighlight %}
73
+
{% endtabs %}
74
+
75
+

76
+
77
+
### Scroll to bottom button customization
78
+
79
+
The `SfChat` control allows you to fully customize the scroll to bottom button appearance by using the `ScrollToBottomButtonTemplate` property. This property lets you define a custom view and style.
ScrollToBottomButtonTemplate = new DataTemplate(() =>
127
+
{
128
+
var grid = new Grid();
129
+
var label = new Label
130
+
{
131
+
Text = "↓",
132
+
FontSize = 30,
133
+
FontAttributes = FontAttributes.Bold,
134
+
HorizontalOptions = LayoutOptions.Center,
135
+
VerticalOptions = LayoutOptions.Center
136
+
};
137
+
grid.Children.Add(label);
138
+
return grid;
139
+
})
140
+
};
141
+
142
+
this.Content = sfChat;
143
+
}
144
+
}
145
+
}
146
+
147
+
{% endhighlight %}
148
+
{% endtabs %}
149
+
52
150
## Scrolled event
53
151
54
152
The [SfChat](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Chat.SfChat.html) control comes with a built-in `Scrolled` event that will be fired whenever the chat control is scrolled. You can get the current scroll offset, whether scrolling has reached the top or bottom of the message list in the [ChatScrolledEventArgs](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Chat.ChatScrolledEventArgs.html). You can handle this event to restrict the auto-scroll in chat for newly added messages, if the user had already scrolled up manually and was currently not at the bottom of the chat when the new message was added.
@@ -72,4 +170,4 @@ The [SfChat](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Chat.SfChat.htm
Copy file name to clipboardExpand all lines: MAUI/DataForm/AI-Powered-Smart-DataForm.md
+56-41Lines changed: 56 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Create a [.NET MAUI app](https://learn.microsoft.com/en-us/dotnet/maui/get-start
19
19
20
20
### Step 2: Set up Azure OpenAI
21
21
22
-
To enable AI functionality in your .NET MAUI Scheduler, first ensure that you have access to [Azure OpenAI](https://azure.microsoft.com/en-in/products/ai-services/openai-service). In the Azure portal, create an Azure OpenAI resource and deploy a model such as GPT-35. Assign a deployment name (for example, GPT35Turbo) that you’ll reference in your application code. Finally, copy the API key and endpoint URL from the resource settings, as these are required for authentication and communication with the OpenAI service.
22
+
To enable AI functionality in your .NET MAUI DataForm, first ensure that you have access to [Azure OpenAI](https://azure.microsoft.com/en-in/products/ai-services/openai-service). In the Azure portal, create an Azure OpenAI resource and deploy a model such as GPT-35. Assign a deployment name (for example, GPT35Turbo) that you’ll reference in your application code. Finally, copy the API key and endpoint URL from the resource settings, as these are required for authentication and communication with the OpenAI service.
23
23
24
24
### Step 3: Connect to the Azure OpenAI
25
25
@@ -168,33 +168,42 @@ Within the base service class (AzureBaseService), initialize the OpenAIClient wi
168
168
169
169
### Step 1: Designing the User Interface
170
170
171
-
#### Editor and Button - Capturing User Prompts
171
+
#### Editor and Button - Capturing User Prompts
172
172
173
173
Use an Editor to collect natural language prompts and a Button to send the prompt to Azure OpenAI. The Editor allows users to describe the form they want, while the Button triggers the logic to process the prompt and generate the form.
Copy file name to clipboardExpand all lines: MAUI/DataForm/AI-Powered-Smart-Paste-DataForm.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This guide introduces the integration of AI-powered Smart Paste functionality in
22
22
23
23
### Step 2: Set up Azure OpenAI
24
24
25
-
To enable AI functionality in your .NET MAUI Scheduler, first ensure that you have access to [Azure OpenAI](https://azure.microsoft.com/en-in/products/ai-services/openai-service). In the Azure portal, create an Azure OpenAI resource and deploy a model such as GPT-35. Assign a deployment name (for example, GPT35Turbo) that you’ll reference in your application code. Finally, copy the API key and endpoint URL from the resource settings, as these are required for authentication and communication with the OpenAI service.
25
+
To enable AI functionality in your .NET MAUI DataForm, first ensure that you have access to [Azure OpenAI](https://azure.microsoft.com/en-in/products/ai-services/openai-service). In the Azure portal, create an Azure OpenAI resource and deploy a model such as GPT-35. Assign a deployment name (for example, GPT35Turbo) that you’ll reference in your application code. Finally, copy the API key and endpoint URL from the resource settings, as these are required for authentication and communication with the OpenAI service.
26
26
27
27
### Step 3: Connect to the Azure OpenAI
28
28
@@ -220,7 +220,7 @@ Create a view model containing an instance of the model. Assign this instance to
220
220
221
221
### Step 3: Design the UI
222
222
223
-
In XAML, set up the form layout - including labels, images, dataform control. Add a smart paste button that triggers that triggers the AI functionality and a submit button for data validation.
223
+
In XAML, set up the form layout - including labels, images, dataform control. Add a smart paste button that triggers the AI functionality and a submit button for data validation.
Copy file name to clipboardExpand all lines: MAUI/DataGrid/ToolTip.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ To show tooltips:
18
18
19
19
## Show tooltip in a header and record cell
20
20
21
-
To enable tooltip for datagrid, set the `SfDataGrid.ShowToolTip` property to `true`. This will display tooltip containing cell content when users interact with the cells.
21
+
To enable tooltip for datagrid, set the [SfDataGrid.ShowToolTip](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_ShowToolTip) property to `true`. This will display tooltip containing cell content when users interact with the cells.
22
22
23
23
{% tabs %}
24
24
{% highlight XAML %}
@@ -113,7 +113,7 @@ You can apply basic tooltip styling using the DefaultStyle property of SfDataGri
113
113
114
114
### Customizing the ToolTip using DataTemplate
115
115
116
-
You can customize the appearance and content of tooltips by setting the `SfDataGrid.ToolTipTemplate` property.
116
+
You can customize the appearance and content of tooltips by setting the [SfDataGrid.ToolTipTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_ToolTipTemplate) property.
117
117
118
118
{% tabs %}
119
119
{% highlight XAML %}
@@ -204,13 +204,13 @@ The below image refers the `AlternateTemplate` which is applied through `ToolTip
204
204
205
205
### CellToolTipOpening event
206
206
207
-
The [CellToolTipOpening]() event is raised when a tooltip is about to be displayed for a cell. The event provides [DataGridCellToolTipOpeningEventArgs]() which contains the following properties:
207
+
The [CellToolTipOpening](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_CellToolTipOpening) event is raised when a tooltip is about to be displayed for a cell. The event provides [DataGridCellToolTipOpeningEventArgs](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridCellToolTipOpeningEventArgs.html) which contains the following properties:
208
208
209
-
*[Column](): Gets the GridColumn of the cell for which the tooltip is being shown.
210
-
*[RowData](): Gets the data associated with a specific row.
211
-
*[RowColumnIndex](): Gets the row and column index of the cell.
212
-
*[ToolTipText](): Gets the text content that is displayed within the tooltip.
213
-
*[Cancel](): Gets or sets a value indicating whether the tooltip should be displayed. Set to `true` to prevent the tooltip from showing.
209
+
*[Column](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridCellToolTipOpeningEventArgs.html#Syncfusion_Maui_DataGrid_DataGridCellToolTipOpeningEventArgs_Column): Gets the GridColumn of the cell for which the tooltip is being shown.
210
+
*[RowData](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridCellToolTipOpeningEventArgs.html#Syncfusion_Maui_DataGrid_DataGridCellToolTipOpeningEventArgs_RowData): Gets the data associated with a specific row.
211
+
*[RowColumnIndex](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridCellToolTipOpeningEventArgs.html#Syncfusion_Maui_DataGrid_DataGridCellToolTipOpeningEventArgs_RowColumnIndex): Gets the row and column index of the cell.
212
+
*[ToolTipText](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridCellToolTipOpeningEventArgs.html#Syncfusion_Maui_DataGrid_DataGridCellToolTipOpeningEventArgs_ToolTipText): Gets the text content that is displayed within the tooltip.
213
+
*`Cancel`: Gets or sets a value indicating whether the tooltip should be displayed. Set to `true` to prevent the tooltip from showing.
0 commit comments