foreach(Control c in this.Controls)
{
if(c is CheckBox)
{
// Do stuff here ;]
}
}
More Related Contents:
- C# DataGridView Checkbox checked event
- DataGridView checkbox column – value and functionality
- TreeView Remove CheckBox by some Nodes
- Toggle switch control in Windows Forms
- Triggering a checkbox value changed event in DataGridView
- How do I suspend painting for a control and its children?
- How to use the Paint event to draw shapes at mouse coordinates
- Properly draw text using GraphicsPath
- Convert json to a C# array?
- How can I bring my application window to the front? [duplicate]
- Cannot close Excel.exe after Interop process
- C# WinForms ErrorProvider Control
- pass a value from one form to another
- Select either a file or folder from the same dialog in .NET
- How do I do logging in C# without using 3rd party libraries? [closed]
- How to auto resize and adjust Form controls with change in resolution
- How do I create a C# app that decides itself whether to show as a console or windowed app?
- Custom Caret for WinForms TextBox
- Merge cells in datagridview
- How to read another windows from a different program
- ‘Forms’ does not exist in the namespace system.windows
- Hosting ASP.NET Core API in a Windows Forms Application
- How to make a button appear as if it is pressed?
- Only allow specific characters in textbox
- Forcing a checkbox bound to a DataSource to update when it has not been viewed yet
- How to setup the starting form of a winforms project in Visual Studio 2010
- Make a form’s background transparent
- Prevent Winforms Designer from Generating Property Values for Inherited Controls
- Region.IsVisible(PointF) has very slow performance for large floating point values
- Prevent users from resizing the window/form size