Highlighted
Absent Member.
Absent Member.
1246 views

WPF Checkbox isChecked???

Jump to solution

Hi!

I will ask the state of a Checkbox...

This will not be working:

if (checkBox1::IsChecked = true)

continue

end-if.

What is wrong?

 

Best Regards

Bernd

Best Regards

Bernd Riemke

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: WPF Checkbox isChecked???

Jump to solution

You need to include the Value property like:

           if checkbox1::IsChecked::Value = true
              set textBox1::Text to "checked"
          else
             set textBox1::Text to "not checked"
          end-if

View solution in original post

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: WPF Checkbox isChecked???

Jump to solution

You need to include the Value property like:

           if checkbox1::IsChecked::Value = true
              set textBox1::Text to "checked"
          else
             set textBox1::Text to "not checked"
          end-if

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: WPF Checkbox isChecked???

Jump to solution

Thats it!

Many Thanks !!!

Best Regards

Bernd Riemke

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.