Top "Controls" questions

Use this tag for programming scenarios related to controls (interactive elements of the user interface).

For each <item> in CheckedListBox. <item> returns as Object and not as Control

I have a CheckedListBox previously populated. I want to loop with a "for each / next" through all items in the …

vb.net object foreach controls checkedlistbox
Control difference between Hide() and Visible?

I was wondering about the difference between using a Control’s Hide() method compared to setting the Visible property to …

c# winforms controls
WPF: Is there a built-in TreeGrid / TreeListView?

I need something just like this: (I need both the TreeView and the ListView aspects. That is, Hirearchy and Columns.) …

wpf controls treelistview
Building a great dashboard app in WPF -- what are the controls available out there?

My application collects business data from various sources, aggregates it, groups and filters, and needs to display it. Pretty uncommon, …

wpf controls wpf-controls dashboard
Get the char on Control.KeyDown?

When handling Control.OnKeyPress event, there is a KeyPressEventArgs that contains a KeyChar. For usability reasons I need exactly the …

c# .net controls char keydown
ASP.NET, VB: how to access controls inside a FormView from the code behind?

I have a checkbox and a panel inside of a FormView control, and I need to access them from the …

asp.net vb.net controls code-behind formview
How to get TabIndex property of currently active control?

How do I find the TabIndex property of the control who has the active focus at runtime. I am using …

javascript asp.net controls tabindex
C# winform check if control is physicaly visible

Is it possible to determine if at least one pixel of a control can be seen (by a property or …

c# winforms controls
WPF TextBox and Scroll behavior

I have a problem. I need to host grid with controls in ScrollViewer to prevent textbox from being either truncated …

wpf controls panels