HighTechTalks DotNet Forums  

How to Implment snaplines in a custom control?

Dotnet Framework (WinForms DesignTime) microsoft.public.dotnet.framework.windowsforms.designtime


Discuss How to Implment snaplines in a custom control? in the Dotnet Framework (WinForms DesignTime) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Jeff Mason
 
Posts: n/a

Default How to Implment snaplines in a custom control? - 09-01-2007 , 11:53 AM






Hi,

I've developed a custom control for use in my application. This is a composite
control (UserControl) containing, essentially, a combobox and a textbox which may
overlay the combo in some circumstances.

The control works fine at run time, but I've noticed that at design time the Visual
Studio snaplines and especially the text baseline snapline does not show.

The help mumbles something about margin and padding as well as snapline objects. I
think I must provide or otherwise use the design-time snapline objects somehow, but I
haven't the faintest clue how to proceed.

Does anyone have any advice or pointers on how to do this?

Thanks,

-- Jeff

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.