Skip to content

Commit d2d0e41

Browse files
authored
Merge pull request #9236 from MicrosoftDocs/noazarur_moderncontroldocupdates
Noazarur moderncontroldocupdates
2 parents 6dcdc06 + 024e47b commit d2d0e41

21 files changed

+884
-174
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,8 @@
510510
href: ./canvas-apps/controls/modern-controls/limitations-modern-controls.md
511511
- name: Button
512512
href: ./canvas-apps/controls/modern-controls/modern-control-button.md
513+
- name: Combobox
514+
href: ./canvas-apps/controls/modern-controls/modern-control-combobox.md
513515
- name: Link
514516
href: ./canvas-apps/controls/modern-controls/modern-control-link.md
515517
- name: Progress bar
@@ -532,6 +534,8 @@
532534
href: ./canvas-apps/controls/modern-controls/modern-controls-header.md
533535
- name: Info button (preview)
534536
href: ./canvas-apps/controls/modern-controls/modern-control-info-button.md
537+
- name: Number input (preview)
538+
href: ./canvas-apps/controls/modern-controls/modern-control-number-input.md
535539
- name: Radio group (preview)
536540
href: ./canvas-apps/controls/modern-controls/modern-controls-radio-group.md
537541
- name: Spinner (preview)
@@ -542,6 +546,8 @@
542546
href: ./canvas-apps/controls/modern-controls/modern-control-text.md
543547
- name: Text input (preview)
544548
href: ./canvas-apps/controls/modern-controls/modern-control-text-input.md
549+
- name: Toggle (preview)
550+
href: ./canvas-apps/controls/modern-controls/modern-control-toggle.md
545551
- name: Control reference
546552
items:
547553
- name: List of controls and properties

powerapps-docs/maker/canvas-apps/controls/modern-controls/modern-control-button.md

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Button modern control in Power Apps
3-
description: Learn about the details, properties and examples of the button modern control in Power Apps.
3+
description: Learn about the details, properties, and examples of the button modern control in Power Apps.
44
author: yogeshgupta698
55

66
ms.topic: reference
@@ -16,21 +16,39 @@ search.audienceType:
1616
contributors:
1717
- mduelae
1818
- yogeshgupta698
19+
- noazarur-microsoft
1920

2021
---
2122
# Button modern control in Power Apps
2223

2324
A control that the user can select to interact with the app.
2425

2526
## Description
26-
With the modern button you can set a button to be primary or secondary. Configure the **[OnSelect](../properties-core.md)** property of a **Button** control to run one or more formulas when the user selects the control. As a design pattern, we recommend always placing the primary button on the left, the secondary button to the right of it.
27+
Use the modern button to set a button to be primary or secondary. Configure the **[OnSelect](../properties-core.md)** property of a **Button** control to run one or more formulas when the user selects the control. As a design pattern, we recommend always placing the primary button on the left, the secondary button to the right of it. The key properties for this control are **OnSelect** and **Text**.
2728

28-
## Key properties
29-
**[OnSelect](../properties-core.md)** – Actions to perform when the user taps or clicks a control.
29+
## General
3030

3131
**[Text](../properties-core.md)** – Text that appears on a component.
3232

33-
**BasePaletteColor** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color. If the value is null or zero, then the color is driven by selected Fluent theme.
33+
**AccessibleLabel** – Label for screen readers.
34+
35+
**Visible** - Whether a control appears or is hidden.
36+
37+
## Behavior
38+
39+
**DisplayMode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
40+
41+
## Size and position
42+
43+
**[X](../properties-size-___location.md)** – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
44+
45+
**[Y](../properties-size-___location.md)** – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
46+
47+
**Width** - The distance between a control's left and right edges.
48+
49+
**Height** - The distance between a control's top and bottom edges.
50+
51+
## Style and theme
3452

3553
**Appearance** – A button can have its content and borders styled for greater emphasis or to be subtle. Below are the options available:
3654
* Primary: Emphasizes the button as a primary action.
@@ -39,20 +57,27 @@ With the modern button you can set a button to be primary or secondary. Configur
3957
* Subtle: Minimizes emphasis to blend into the background until hovered or focused.
4058
* Transparent: Removes background and border styling.
4159

60+
**BasePaletteColor** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color. If the value is null or zero, then the color is driven by selected Fluent theme.
61+
62+
**Font** - The name of the family of fonts in which text appears.
63+
4264
**FontSize** - The font size of the text that appears on a control. If the value is null or zero, then the font size is driven by selected Fluent theme.
4365

44-
## Additional properties
45-
**AccessibleLabel** – Label for screen readers.
66+
**FontColor** - The color of text in a control.
4667

47-
**DisplayMode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
68+
**FontWeight** - The weight of the text in a control: **Bold**, **Lighter**, **Normal**, or **Semibold**.
4869

49-
**Visible** - Whether a control appears or is hidden.
70+
**FontItalic** - Whether the text in a control is italic.
5071

51-
**[X](../properties-size-___location.md)** – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
72+
**FontUnderline** - Whether a line appears under the text that appears on a control.
5273

53-
**[Y](../properties-size-___location.md)** – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
74+
**FontStrikethrough** - Whether a line appears through the text that appears on a control.
75+
76+
## Additional properties
77+
78+
**AcceptsFocus** - Determines whether the control can receive focus when the user navigates through the app using the keyboard.
5479

55-
**[Size](../properties-text.md)**The size of the control on the canvas
80+
**[OnSelect](../properties-core.md)**Actions to perform when the user selects a control.
5681

5782

5883

powerapps-docs/maker/canvas-apps/controls/modern-controls/modern-control-checkbox.md

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Checkbox modern control in Power Apps
3-
description: Learn about the details, properties and examples of the checkbox modern control in Power Apps.
3+
description: Learn about the details, properties, and examples of the checkbox modern control in Power Apps.
44
author: yogeshgupta698
55

66
ms.topic: reference
@@ -16,6 +16,7 @@ search.audienceType:
1616
contributors:
1717
- mduelae
1818
- yogeshgupta698
19+
- noazarur-microsoft
1920

2021
---
2122
# Checkbox modern control in Power Apps (preview)
@@ -25,26 +26,58 @@ contributors:
2526
A control that the user can select or clear to set its value to **true** or **false**.
2627

2728
## Description
28-
The user can specify a Boolean value by using this familiar control, which has been used in GUIs for decades.
29+
The user can specify a Boolean value by using this familiar control that is used in Graphical User Interface (GUI) for decades. The key properties for this control are **Checked**, **Label**, **OnCheck**, and **OnUncheck**.
2930

30-
## Key properties
31-
**Checked** – The controlled value for the checkbox.
31+
## General
3232

3333
**Label** – The Checkbox's label.
3434

35-
**Base palette color** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color.
35+
**AccessibleLabel** – Label for screen readers.
3636

37-
**Display mode** Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
37+
**Visible** - Whether a control appears or is hidden.
3838

39+
## Behavior
3940

40-
## Additional properties
41-
**Accessible label** – Label for screen readers.
41+
**Checked** – The controlled value for the checkbox.
42+
43+
**DisplayMode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
44+
45+
## Size and position
4246

4347
**[X](../properties-size-___location.md)** – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
4448

4549
**[Y](../properties-size-___location.md)** – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
4650

47-
**[Size](../properties-text.md)** – The size of the checkbox indicator.
51+
**Width** - The distance between a control's left and right edges.
52+
53+
**Height** - The distance between a control's top and bottom edges.
54+
55+
## Style and theme
56+
57+
**BasePaletteColor** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color.
58+
59+
**Font** - The name of the family of fonts in which text appears.
60+
61+
**FontSize** - The font size of the text that appears on a control. If the value is null or zero, then the font size is driven by selected Fluent theme.
62+
63+
**FontColor** - The color of text in a control.
64+
65+
**FontWeight** - The weight of the text in a control: Bold, Lighter, Normal, or Semibold.
66+
67+
**FontItalic** - Whether the text in a control is italic.
68+
69+
**FontUnderline** - Whether a line appears under the text that appears on a control.
70+
71+
**FontStrikethrough** - Whether a line appears through the text that appears on a control.
72+
73+
74+
## Additional properties
75+
76+
**OnCheck** - Actions to perform when the user checks the control.
77+
78+
**OnSelect** - Actions to perform when the user selects a control.
79+
80+
**OnUncheck** - Actions to perform when the user unchecks the control.
4881

4982

5083

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Combobox modern control in Power Apps
3+
description: Learn about the details, properties, and examples of the combobox modern control in Power Apps.
4+
author: noazarur-microsoft
5+
6+
ms.topic: reference
7+
ms.component: canvas
8+
ms.date: 3/15/2024
9+
ms.subservice: canvas-maker
10+
ms.author: noazarur
11+
12+
13+
ms.reviewer: mkaur
14+
search.audienceType:
15+
- maker
16+
contributors:
17+
- mduelae
18+
- noazarur-microsoft
19+
20+
---
21+
# Combobox modern control in Power Apps
22+
23+
A control that allows users to make selections from provided choices and supports search and multiple selections.
24+
25+
## Description
26+
27+
A **Combobox** control allows you to search for items that you select. Single or multi-select mode is configured via the SelectMultiple property. Key properties for this control are Items, DefaultSelectedItems, SelectedItems, SelectMultiple, and IsSearchable.
28+
29+
## General
30+
31+
**Items** – The source of data that contains the items that appear in the control. If the source has multiple columns, set the control's **Value** property to the column of data that you want to show.
32+
33+
**AccessibleLabel** – Label for screen readers.
34+
35+
**Visible** - Whether a control appears or is hidden.
36+
37+
## Behavior
38+
39+
**SelectMultiple** - Whether the user can select a single item or multiple items.
40+
41+
**IsSearchable** - Whether the user can search for items before selecting.
42+
43+
**DisplayMode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
44+
45+
## Size and position
46+
47+
**[X](../properties-size-___location.md)** – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
48+
49+
**[Y](../properties-size-___location.md)** – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
50+
51+
**Width** - The distance between a control's left and right edges.
52+
53+
**Height** - The distance between a control's top and bottom edges.
54+
55+
## Style and theme
56+
57+
**BasePaletteColor** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color.
58+
59+
**Font** - The name of the family of fonts in which text appears.
60+
61+
**FontSize** - The font size of the text that appears on a control. If the value is null or zero, then the font size is driven by selected Fluent theme.
62+
63+
**FontColor** - The color of text in a control.
64+
65+
**FontWeight** - The weight of the text in a control: Bold, Lighter, Normal, or Semibold.
66+
67+
**FontItalic** - Whether the text in a control is italic.
68+
69+
**FontUnderline** - Whether a line appears under the text that appears on a control.
70+
71+
**FontStrikethrough** - Whether a line appears through the text that appears on a control.
72+
73+
## Additional properties
74+
75+
**OnChange** – Actions to perform when the user changes the value of a control.
76+
77+
**TextInputPlaceholder** - Instructional text shown to end users when no items are selected.
78+
79+
**MultiValueDelimiter** - If a user selects multiple items, you can select what delimiter is added in-between items such as a comma.
80+
81+
**ValidationState** - The control has two states, which are **Error** and **None**. When the error state is selected the control’s border is highlighted in red.
82+
83+
**DefaultSelectedItems** - The initial value of a control before the user specifies a different value.
84+
85+

powerapps-docs/maker/canvas-apps/controls/modern-controls/modern-control-dropdown.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Drop down modern control in Power Apps
3-
description: Learn about the details, properties and examples of the dropdown modern control in Power Apps.
3+
description: Learn about the details, properties, and examples of the dropdown modern control in Power Apps.
44
author: yogeshgupta698
55

66
ms.topic: reference
@@ -16,6 +16,7 @@ search.audienceType:
1616
contributors:
1717
- mduelae
1818
- yogeshgupta698
19+
- noazarur-microsoft
1920

2021
---
2122
# Drop down modern control in Power Apps (preview)
@@ -25,27 +26,43 @@ contributors:
2526
Select a value from the list of items.
2627

2728
## Description
28-
A **Drop down** control conserves screen real estate, especially when the list contains a large number of choices. The control takes up only one line unless the user selects the chevron to reveal more choices.
29+
A **Drop down** control conserves screen real estate, especially when the list contains a large number of choices. The control takes up only one line unless the user selects the chevron to reveal more choices. The key properties for this control are **Items**, **ValidationState**, and **OnChange**.
2930

30-
## Key properties
31+
## General
3132

3233
**[Items](../properties-core.md)** – The source of data that contains the items that appear in the control. If the source has multiple columns, set the control's **Value** property to the column of data that you want to show.
3334

34-
**Base palette color** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color.
35+
**AccessibleLabel** – Label for screen readers.
3536

36-
**Required** - must fill in field.
37+
**Visible** - Whether a control appears or is hidden.
3738

38-
**Display mode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
39+
## Behavior
3940

41+
**Required** - Can mandate if one must fill in field.
4042

41-
## Additional properties
42-
**Accessible label** – Label for screen readers.
43+
**DisplayMode** – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
44+
45+
## Size and position
4346

4447
**[X](../properties-size-___location.md)** – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
4548

4649
**[Y](../properties-size-___location.md)** – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
4750

48-
**[Size](../properties-text.md)** – The size of the control on canvas.
51+
**Width** - The distance between a control's left and right edges.
52+
53+
**Height** - The distance between a control's top and bottom edges.
54+
55+
## Style and theme
56+
57+
**BasePaletteColor** - The color palette applied to a control. This impacts all surfaces of the control that render a theme color.
58+
59+
**FontSize** - The font size of the text that appears on a control. If the value is null or zero, then the font size is driven by selected Fluent theme.
60+
61+
62+
## Additional properties
4963

64+
**OnChange** – Actions to perform when the user changes the value of a control.
5065

66+
**ValidationState** - The control has two states, which are **Error** and **None**. When the error state is selected the control’s border is highlighted in red.
5167

68+
**DefaultSelectedItems** - The initial value of a control before the user specifies a different value.

0 commit comments

Comments
 (0)