Skip to content

Commit ad0d0d8

Browse files
Fix tooltip section formatting and property name
1 parent be96aa2 commit ad0d0d8

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

wpf/Kanban-Board/Cards.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,16 @@ You can replace the entire card template with your own design using [`SfKanban.C
186186

187187
![Template support for cards in WPF SfKanban](SfKanban_images/CardTemplate.png)
188188

189-
## Cards ToolTip
189+
## Cards tooltip
190190

191191
An interactive tooltip provides additional details about the cards on hovering the mouse over them.
192192

193193
### Enable tooltip for cards
194194

195-
To enable tooltip for the kanban cards, use the `IsToolTipEnabled` property of [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html). By default, `IsToolTipEnabled` is set to `false.` To provide users with additional information or context about cards, simply set this property to true.
195+
To enable tooltip for the kanban cards, use `IsToolTipEnabled` property of [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html). By default, `IsToolTipEnabled` is set to `false.` To provide users with additional information or context about cards, simply set this property to `true.`
196196

197197
{% tabs %}
198-
{% highlight xaml hl_lines="2" %}
198+
{% highlight XAML hl_lines="2" %}
199199

200200
<kanban:SfKanban x:Name="kanban"
201201
IsToolTipEnabled="True"
@@ -206,7 +206,7 @@ To enable tooltip for the kanban cards, use the `IsToolTipEnabled` property of [
206206
</kanban:SfKanban>
207207

208208
{% endhighlight %}
209-
{% highlight C# hl_lines="1" %}
209+
{% highlight C# hl %}
210210

211211
this.kanban.IsToolTipEnabled = true;
212212

@@ -232,47 +232,41 @@ public class ViewModel
232232
task.Description = "Sorting is not working properly in DateTimeAxis";
233233
task.Category = "Open";
234234
task.Tags = new string[] { "Bug Fixing" };
235-
task.ImageURL = new Uri(@"D:\Win\WPFToolTipKanban\WPFToolTipKanban\Assets\People\People_Circle1.png", UriKind.RelativeOrAbsolute);
236235
Tasks.Add(task);
237236

238237
task = new KanbanModel();
239238
task.Title = "New Feature";
240239
task.Description = "Need to create code base for Gantt control";
241240
task.Category = "Open";
242241
task.Tags = new string[] { "GanttControl UWP" };
243-
task.ImageURL = new Uri("/Assets/People/People_Circle2.png", UriKind.RelativeOrAbsolute);
244242
Tasks.Add(task);
245243

246244
task = new KanbanModel();
247245
task.Title = "UG";
248246
task.Description = "Need to do post processing work for closed incidents";
249247
task.Category = "In Progress";
250248
task.Tags = new string[] { "Post processing" };
251-
task.ImageURL = new Uri("/Assets/People/People_Circle3.png", UriKind.RelativeOrAbsolute);
252249
Tasks.Add(task);
253250

254251
task = new KanbanModel();
255252
task.Title = "UWP Issue";
256253
task.Description = "Crosshair label template not visible in UWP.";
257254
task.Category = "In Progress";
258255
task.Tags = new string[] { "Bug Fixing" };
259-
task.ImageURL = new Uri("/Assets/People/People_Circle4.png", UriKind.RelativeOrAbsolute);
260256
Tasks.Add(task);
261257

262258
task = new KanbanModel();
263259
task.Title = "WPF Issue";
264260
task.Description = "Need to implement tooltip support for histogram series.";
265261
task.Category = "Closed";
266262
task.Tags = new string[] { "Bug Fixing" };
267-
task.ImageURL = new Uri("/Assets/People/People_Circle6.png", UriKind.RelativeOrAbsolute);
268263
Tasks.Add(task);
269264

270265
task = new KanbanModel();
271266
task.Title = "WF Issue";
272267
task.Description = "HorizontalAlignment for tooltip is not working";
273268
task.Category = "Closed";
274269
task.Tags = new string[] { "Bug fixing" };
275-
task.ImageURL = new Uri("/Assets/People/People_Circle8.png", UriKind.RelativeOrAbsolute);
276270
Tasks.Add(task);
277271
}
278272
}
@@ -287,7 +281,7 @@ You can customize the tooltip appearance by using the `ToolTipTemplate` property
287281
The following code example shows the usage of DataTemplate.
288282

289283
{% tabs %}
290-
{% highlight xaml hl_lines="2" %}
284+
{% highlight XAML hl_lines="2" %}
291285

292286
<kanban:SfKanban x:Name="kanban"
293287
IsToolTipEnabled="True"
@@ -358,7 +352,6 @@ public class ViewModel
358352
task.Category = "Open";
359353
task.ColorKey = "#FF5187C6";
360354
task.Tags = new string[] { "Bug Fixing" };
361-
task.ImageURL = new Uri("/Assets/People/People_Circle1.png", UriKind.RelativeOrAbsolute);
362355
Tasks.Add(task);
363356

364357
task = new KanbanModel();
@@ -367,7 +360,6 @@ public class ViewModel
367360
task.Category = "Open";
368361
task.ColorKey = "#FF57B94C";
369362
task.Tags = new string[] { "GanttControl UWP" };
370-
task.ImageURL = new Uri("/Assets/People/People_Circle2.png", UriKind.RelativeOrAbsolute);
371363
Tasks.Add(task);
372364

373365
task = new KanbanModel();
@@ -376,7 +368,6 @@ public class ViewModel
376368
task.Category = "In Progress";
377369
task.ColorKey = "#FF57B94C";
378370
task.Tags = new string[] { "Post processing" };
379-
task.ImageURL = new Uri("/Assets/People/People_Circle3.png", UriKind.RelativeOrAbsolute);
380371
Tasks.Add(task);
381372

382373
task = new KanbanModel();
@@ -385,7 +376,6 @@ public class ViewModel
385376
task.Category = "In Progress";
386377
task.ColorKey = "#FFECB93C";
387378
task.Tags = new string[] { "Bug Fixing" };
388-
task.ImageURL = new Uri("/Assets/People/People_Circle4.png", UriKind.RelativeOrAbsolute);
389379
Tasks.Add(task);
390380

391381
task = new KanbanModel();
@@ -394,7 +384,6 @@ public class ViewModel
394384
task.Category = "Closed";
395385
task.ColorKey = "#FF5187C6";
396386
task.Tags = new string[] { "Bug Fixing" };
397-
task.ImageURL = new Uri("/Assets/People/People_Circle6.png", UriKind.RelativeOrAbsolute);
398387
Tasks.Add(task);
399388

400389
task = new KanbanModel();
@@ -403,7 +392,6 @@ public class ViewModel
403392
task.Category = "Closed";
404393
task.ColorKey = "#FFECB93C";
405394
task.Tags = new string[] { "Bug fixing" };
406-
task.ImageURL = new Uri("/Assets/People/People_Circle8.png", UriKind.RelativeOrAbsolute);
407395
Tasks.Add(task);
408396
}
409397
}
@@ -412,4 +400,4 @@ public class ViewModel
412400
{% endtabs %}
413401

414402
N>
415-
* This property will only be applicable when `EnableToolTip` is set to true.
403+
* This property will only be applicable when `IsToolTipEnabled` is set to `true.`

0 commit comments

Comments
 (0)