Skip to content

Commit 1c872d6

Browse files
Merge pull request #1110 from telerik/didi/update-kbs
Didi/update kbs
2 parents dbf76fe + fdc1529 commit 1c872d6

9 files changed

+31
-80
lines changed

controls/numericinput/styling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Styling
33
page_title: .NET MAUI NumericInput Documentation - Styling
44
description: Learn more about styling options in Telerik UI for .NET MAUI NumericInput control.
55
position: 15
6-
previous_url: /controls/numericinput/numericinput-control-template, /knowledge-base/numeric-hide-buttons
6+
previous_url: /controls/numericinput/numericinput-control-template
77
slug: numericinput-styling
88
---
99

@@ -27,7 +27,7 @@ In addition, you can change the visual appearance of the NumericInput by definin
2727
* `ReadOnly`—Applied when the NumericInput is in read-only mode.
2828
* `ReadonlyFocused`—Applied when the NumericInput is in read-only mode and receives the focus.
2929
* (Desktop Only) `ReadOnlyMouseOver`—Applied when the NumericInput is in read-only mode and the mouse cursor is hovering over it.
30-
* `Disabled`**—Applied when the NumericInput's `IsEnabled` is `False`.
30+
* `Disabled`—Applied when the NumericInput's `IsEnabled` is `False`.
3131

3232
Note that the use of the Background and Border properties in the control template varies by platform:
3333

controls/scheduler/nonworking-hours.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

controls/treeview/styling/scrollbar-style.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

knowledge-base/customize-column-generation-raddatagrid-dotnet-maui.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: Changing Column Type to DataGridComboBoxColumn in DataGrid with AutoGener
33
description: Learn how to customize the AutoGenerateColumns feature in DataGrid by changing a column's type to DataGridComboBoxColumn in a .NET MAUI application.
44
type: how-to
55
page_title: How to Customize Column Generation in DataGrid for .NET MAUI
6-
slug: customize-column-generation-raddatagrid-dotnet-maui
6+
slug: customize-column-generation-datagrid-dotnet-maui
77
tags: datagrid, .net maui, autogeneratedcolumns, datagridcomboboxcolumn, custom command
88
res_type: kb
99
---
1010

1111
## Environment
1212

13-
| Control | Author |
14-
| ---- | ---- |
13+
| Product | Author |
14+
| ---- | ---- |
1515
| DataGrid for MAUI | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova) |
1616

1717
## Description

knowledge-base/customize-datagrid-search-panel-maui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ res_type: kb
1010

1111
## Environment
1212

13-
| Control | Author |
13+
| Product | Author |
1414
| ---- | ---- |
1515
| DataGrid for MAUI | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova) |
1616

knowledge-base/datagrid-maui-single-tap-editing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ res_type: kb
1010

1111
## Environment
1212

13-
| Product | DataGrid for MAUI |
13+
| Product | Version |
1414
| --- | --- |
15-
| Version | 7.0.0 |
15+
| DataGrid for MAUI | 7.0.0 |
1616

1717
## Description
1818

knowledge-base/detect-row-detail-expansion-collapse-maui-datagrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ res_type: kb
1111
## Environment
1212

1313
| Product | Version | Author |
14-
| --- | --- |
14+
| --- | --- | --- |
1515
| DataGrid for .NET MAUI | 7.0.0 | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova)|
1616

1717
## Description

knowledge-base/error-unauthorized.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Erro 401 Unauthorized
2+
title: Error 401 Unauthorized
33
description: Learn how to resolve issues related to "Error 401 Unauthorized".
44
type: troubleshooting
55
page_title: How to solve Error 401 Unauthorized

knowledge-base/numeric-hide-buttons.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ type: how-to
55
page_title: Hide the numeric buttons for increasing, decreasing the value
66
slug: numeric-hide-buttons
77
position:
8-
published: False
98
tags: numeric, buttons, hide buttons, .net maui, maui
109
res_type: kb
1110
---
@@ -14,7 +13,7 @@ res_type: kb
1413

1514
| Version | Product | Author |
1615
| --- | --- | ---- |
17-
| 5.1.0 | Telerik UI for .NET MAUI NumericInput | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova) |
16+
| 10.0.0 | Telerik UI for .NET MAUI NumericInput | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova) |
1817

1918

2019
## Description
@@ -24,23 +23,29 @@ This article explains how to hide the numeric input buttons. The buttons are use
2423

2524
## Solution
2625

27-
You have two options for hiding the buttons.
28-
29-
**1.** Use the `DecreaseButtonStyle` and `IncreaseButtonStyle` and set `IsVisible` property to `False`.
26+
**1.** Define the .NET MAUI NumericInput control in XAML with the `DecreaseButtonStyle` (`Style` with target type `RadTemplatedButton`) and the `IncreaseButtonStyle` (`Style` with target type `RadTemplatedButton`) properties set:
3027

3128
```XAML
32-
<telerik:RadNumericInput DecreaseButtonStyle="{StaticResource button}" IncreaseButtonStyle="{StaticResource button}"/>
33-
```
34-
35-
And the Style defined in the resources:
29+
<VerticalStackLayout>
30+
<telerik:RadNumericInput DecreaseButtonStyle="{StaticResource DecreaseButtonStyle}"
31+
IncreaseButtonStyle="{StaticResource IncreaseButtonStyle}" />
3632

37-
```XAML
38-
<ResourceDictionary>
39-
<Style TargetType="telerik:RadButton" x:Key="button">
40-
<Setter Property="IsVisible" Value="False"/>
41-
</Style>
42-
</ResourceDictionary>
33+
</VerticalStackLayout>
4334
```
4435

45-
**2.** Use the [ControlTemplate]({%slug numericinput-control-template%}) of the `RadNumericInput` and remove the buttons from the control template.
4636

37+
**2.** Hide the increase and decrease buttons by setting the `IsVisible` property of the `RadTemplatedButton` to `false`:
38+
39+
```XAML
40+
<ContentPage.Resources>
41+
<ResourceDictionary>
42+
<Style x:Key="DecreaseButtonStyle" TargetType="telerik:RadTemplatedButton">
43+
<Setter Property="IsVisible" Value="False" />
44+
</Style>
45+
46+
<Style x:Key="IncreaseButtonStyle" TargetType="telerik:RadTemplatedButton">
47+
<Setter Property="IsVisible" Value="False" />
48+
</Style>
49+
</ResourceDictionary>
50+
</ContentPage.Resources>
51+
```

0 commit comments

Comments
 (0)