c# - Add Columns to Custom DGV User Control through Designer -


i creating custom user control holds datagridview. datagridview has custom functionality of events used in 3-4 different forms.

ideally i'd able drop customdgv in form using designer , add columns through designer via right click -> edit columns regular dgv. however, option not available using customdgv. can add columns programmatically, keeping things visual possible.

my guess @ reason dgv private inside of customdgv hence reason edit columns option not show. there way make protected/public without going .designer.cs file? hunch , may way off.

you have expose these properties designer in custom user control using design time attributes.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -