DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 15 Aug 2007 12:06:03 -0500,    posted on: microsoft.public.dotnet.framework.windowsforms.designtime        back       

Thread Index
  1    tim jödden
          2    Jack Jackson


editing properties of derived datagridviews   
hi

assume i created a user control which contains a datagridview element.
assume i want to derive several custom controls from that control and i want 
to edit the properties of the dgv in vs05 at design time (binding 
datasources, editing columns and something like that).
currently all properties of the dgv are locked and greyed out - no way to do 
this by mouse ;)
is there a possibility to tell the designer to let me edit these properties? 
(dgv is not the only control which cannot be edited in similar cases)

thanks
tim
Date:Wed, 15 Aug 2007 12:06:03 -0500   Author:  

Re: editing properties of derived datagridviews   
On Wed, 15 Aug 2007 12:06:03 -0500, "tim jdden" wrote:


>hi
>
>assume i created a user control which contains a datagridview element.
>assume i want to derive several custom controls from that control and i want 
>to edit the properties of the dgv in vs05 at design time (binding 
>datasources, editing columns and something like that).
>currently all properties of the dgv are locked and greyed out - no way to do 
>this by mouse ;)
>is there a possibility to tell the designer to let me edit these properties? 
>(dgv is not the only control which cannot be edited in similar cases)
>
>thanks
>tim


For each control in the usercontrol, set the Modifiers property to
Protected.  The default is Private, which does not allow access from
derived classes.
Date:Wed, 15 Aug 2007 10:28:51 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us