Skip to content

Commit cb12a64

Browse files
Merge pull request #1233 from telerik/didi/fix-snippets
fix snippets
2 parents c580ec7 + 1a504b4 commit cb12a64

File tree

18 files changed

+27
-26
lines changed

18 files changed

+27
-26
lines changed

ai/copilot-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: Telerik MAUI GitHub Copilot Extension
44
description: Learn how to add and use the Telerik MAUI GitHub Copilot extension as a .NET MAUI AI coding assistant and code generator for better developer productivity. The Telerik MAUI GitHub Copilot extension provides proprietary context about Telerik UI for .NET MAUI to AI-powered software.
55
slug: ai-copilot-extension
66
tags: telerik, maui, ai, dotnetmaui, coding assistant, ai server
7-
position: 1
7+
position: 3
88
---
99

1010
# Telerik MAUI GitHub Copilot Extension

ai/mcp-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: Telerik MAUI MCP Server
44
description: Learn how to add and use the Telerik MAUI MCP Server as a .NET MAUI AI coding assistant and code generator for better developer productivity. The Telerik MAUI MCP server provides proprietary context about Telerik UI for .NET MAUI to AI-powered software.
55
slug: ai-mcp-server
66
tags: telerik,maui,ai,ai server,dotnetmaui,coding assistant
7-
position: 2
7+
position: 1
88
---
99

1010
# Telerik .NET MAUI MCP Server

ai/prompt-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Prompt Library
33
page_title: Telerik UI for .NET MAUI Prompt Library
44
description: Explore the extensive collection of prompts that you can use with the Telerik UI for MAUI AI Coding Assistant.
55
slug: ai-prompt-library
6-
position: 4
6+
position: 2
77
---
88

99
# Telerik UI for MAUI Prompt Library

controls/aiprompt/styling/aipromptbutton-styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following example demonstrates how to modify the AIPrompt Button's appearanc
1818

1919
**2.** Add the `RadAIPromptButton` control with its `Style` applied:
2020

21-
<snippet id='aiprompt-airpromtbutton-xaml'/>
21+
<snippet id='aiprompt-airpromtbutton-styling-xaml'/>
2222

2323
Check the result below:
2424

controls/autocomplete/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The purpose of this help article is to show you the main configuration options o
1515
AutoComplete exposes `Placeholder` property which is used to give guidance to the end user on what should be entered in the text input.
1616
You can also use the `PlaceholderColor` property to define the placeholder text color of the component.
1717

18-
<snippet id='autocompleteview-features-watermark'/>
18+
<snippet id='autocomplete-placeholder'/>
1919

2020
## Display Mode
2121

controls/checkbox/getting-started.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ Before adding the CheckBox, you need to:
2929

3030
**1.** When the your .NET MAUI application is set up, you are ready to add a CheckBox control to your page.
3131

32-
```XAML
33-
<telerik:RadCheckBox x:Name="checkbox" />
34-
```
32+
<snippet id='checkbox-getting-started-xaml' />
3533

3634
**2.** Add the `telerik` namespace:
3735

controls/datagrid/aggregates/styling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ The table below describes the available properties for the `GroupAggregateCellSt
9595

9696
**1.** Define the DataGrid in XAML:
9797

98-
<snippet id='datagrid-group-header-aggregates'/>
98+
<snippet id='datagrid-group-header-aggregates-styleselector'/>
9999

100100
**2.** Define the `StyleSelector` class:
101101

102-
<snippet id='datagrid-group-header-aggregate-nexttoheader-style-xaml'/>
102+
<snippet id='datagrid-aggregates-styleselector'/>
103103

104104
**3.** Define the `GroupAggregateCellStyleSelector` in the page's resources:
105105

106-
<snippet id='datagrid-group-header-aggregate-nexttoheader-style-xaml'/>
106+
<snippet id='datagrid-group-header-aggregate-styleselector-xaml'/>
107107

108108
**4.** Define the `DataModel`:
109109

controls/listpicker/styling/dropdown-styling.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ The following examples demonstrate how to define use the styling properties of t
3131

3232
<snippet id='listpicker-dropdown-style' />
3333

34+
**Define the DropDownViewStyle**
35+
36+
<snippet id='listpicker-style-dropdownview-style' />
37+
3438
**Define the FooterStyle**
3539

3640
<snippet id='listpicker-style-footer-style' />

controls/map/getting-started.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Before adding the Map, you need to:
3131
1. When your .NET MAUI application is set up, you are ready to add a Map control to your page.
3232

3333
<snippet id='map-getting-started-xaml' />
34-
<snippet id='map-gettingstarted-csharp' />
3534

3635
1. Add the following namespace:
3736

controls/progressbar/styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Style the ProgressBar segments using the following properties:
5252

5353
For indeterminate mode you can style the ProgressBar using the `ProgressFill`(`Brush`) property.
5454

55-
<snippet id='progressbar-styling-separator-segments'/>
55+
<snippet id='progressbar-styling-indeterminate-mode'/>
5656

5757
![.NET MAUI ProgressBar Style the indeterminate mode fill](images/progressbar-styling-indeterminate-fill.png)
5858

0 commit comments

Comments
 (0)