SYSK 299: WinForms controls and COM support – an interesting fact…

Did you know that a large number of WinForms (.NET managed) controls are marked with ClassInterface(ClassInterfaceType.AutoDispatch) attribute and are COM visible?

 

Examples include CheckBox, ComboBox, DataGrid, Button, CheckedListBox, ContextMenuStrip, ContainerControl, DataGridView, DateTimePicker, FlowLayoutPanel, Form, GroupBox, Label, ListBox, ListView, MenuStrip, Panel, TextBox, and many others…