Power Apps Checkbox – Modern Controls


Purpose

A Power Apps checkbox control allows the user to select one or more options from a list of choices.


Properties

AccessibleLabel
Screen readers will voice this text when a user selects the control
Checked
Sets the default state of the checkbox to checked when true. Can also be used as an output property to get the current value of the checkbox.

Options:

= true



= false

ContentLanguage
Describes the language used to the audience (e.g. “en-US”)
DisplayMode
Selects the mode: Edit, View or Disabled. In Edit mode the user can input values. In View mode the user can only see the values and in Disabled mode the control is greyed-out.

Options:
= DisplayMode.Disabled
= DisplayMode.Edit
= DisplayMode.View
Height
Distance from the top of the control to the bottom
Label
Text to display beside the checkbox
OnChange
Actions that will be executed when the Value property of the checkbox changes
Visible
Determines whether to show or hide the control
Width
Distance from the left side of the control to the right side
X
Distance from the left edge of the screen to the left side of the control
Y
Distance from the top edge of the screen to the top of the control




How To Use The Power Apps Checkbox Control

1. Select the checkbox control in Power Apps studio. Write a text value in the Label property.

"I accept the terms and conditions"

2. Set the default state of the checkbox using the Checked property.

false



3. Click on the checkbox to change’s its state to checked.


4. Get the current checkbox value using this code.

CheckboxCanvas1.Checked





Questions?

If you have any questions or feedback about Power Apps Checkbox – Modern Controls please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Subscribe
Notify of
guest

7 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Rich P
Rich P
9 months ago

Hi Matt – In your example of Checked/Unchecked, are the images reversed?

Lumiere
Lumiere
9 months ago

Hi there isn’t on change property

Junior Sanchoz
Junior Sanchoz
6 months ago

Hello, could you update the modern control checkbox, as it seems the OnChange has been removed

Marco
Marco
6 months ago

Hi Matthew,
I’m usign the 3.23093.15 version of PowerApps
but the OnChange event is missed!

Rodrigo Moreira
Rodrigo Moreira
6 months ago

In the old checkboxes model, if I want to collect the value of the box for a collection, I do:
ClearCollect(MyCollection1,[
        {Department: If(Checkbox1.Value = true, Checkbox1.Text)},
        ]);

How can I get the same result with new and modern ones?
I tried this, without success:

ClearCollect(MyCollection1,[
      {Dept.: If(CheckboxCanvas1.Checked, “I want CheckboxCanvas1 Label here!”) },
      ]);

Last edited 6 months ago by Rodrigo Moreira
Aiman
Aiman
1 month ago

How do I programmatically toggle checkbox with button