https://github.com/karenpayneoregon/findchildrenwpf
Sample to disable enable TextBoxes in a StackPanel
https://github.com/karenpayneoregon/findchildrenwpf
csharp stackpanel textboxes wpf
Last synced: 2 months ago
JSON representation
Sample to disable enable TextBoxes in a StackPanel
- Host: GitHub
- URL: https://github.com/karenpayneoregon/findchildrenwpf
- Owner: karenpayneoregon
- Created: 2019-11-05T21:46:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T16:33:43.000Z (over 6 years ago)
- Last Synced: 2025-01-29T00:29:26.089Z (over 1 year ago)
- Topics: csharp, stackpanel, textboxes, wpf
- Language: C#
- Homepage:
- Size: 630 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Code for finding all children in a container
Sample to disable enable TextBoxes in a StackPanel and set default width of TextBoxes for specificly tagged TextBoxes, in this case the 12 under "Number of Covered workers"..
[Source code](https://social.technet.microsoft.com/wiki/contents/articles/53438.wpf-get-all-controls-of-a-specific-type-c.aspx)

## See also
[WPF: get all controls of a specific type using C#](https://social.technet.microsoft.com/wiki/contents/articles/53438.wpf-get-all-controls-of-a-specific-type-using-c.aspx)
In this article language extension methods are presented to locate controls in containers such as a windows Jump , grid Jump or StackPanel Jump for performing business logic like obtaining a selection from a group of Checkboxes, a selected RadioButton in a group or enabling/disabling specific types of controls.
## WPF/C# Setting visibility of controls based off another control
[Article location](https://social.technet.microsoft.com/wiki/contents/articles/53480.wpfc-setting-visibility-of-controls-based-off-another-control.aspx)