Equivalent of MFC DoPropExchange in native .NET components

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

I'm developing a custom control using Managed VC++.NET: I would like to
catch the moment in which, at design-time, the control properties are
serialized and persisted into the container form code (the same thing
usually obtained overriding COleControl::DoPropExchange in MFC ActiveX
controls): has somebody idea of the function that I must override for this
purpose?

Thanks in advance and Kind Regards

Severino


.



Relevant Pages

  • Re: Update property from within a control
    ... design-time code) the Control's certain property at design-time (only once ... this, we need to provide a custom ControlDeisgner for our control, and in ... | Subject: Re: Update property from within a control ... | generating a GUID when it is first added to a form at design time. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Update property from within a control
    ... > design-time code) the Control's certain property at design-time (only ... > this, we need to provide a custom ControlDeisgner for our control, and in ... > GuidControl gc = this.Component as GuidControl; ... > | Subject: Re: Update property from within a control ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • RE: Problem writing a control with DataSource support...
    ... it just use the following code to retreive the datasource ... And we bind the retrieved source or related dataobjects to the control as ... For design-time, that'll be much more complex, since the Design-time ... support for DataBound control in asp.net 2.0 introduce many new design-time ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Dynamic control state changes lost on Postback
    ... If you want to set something design-time specific, ... Setting a custom control's properties for display in DesignMode ... This goes woth what the control has set as property values. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Update property from within a control
    ... Steven Cheng ... Microsoft Online Support ... | Subject: Re: Update property from within a control ... |> design-time code) the Control's certain property at design-time (only ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)