Custom Control Not Showing Preview during design time

  • Thread starter Thread starter Dipu
  • Start date Start date
D

Dipu

Hello,


I have created Gradient Button control by extending control class.

When i drag it on a form it is not showing any preview during design time.
I have downloaded image button control from Microsoft site. when we drag
that control on form it shows the preview during design time.

i have checked whole source code but still i am not about to make it possible.

Can any one help me in this matter.

i want to show preview of custom control on form during design time.
 
You need to create an XMTA file for the control - this contains XML markup
to describe the control. See creating the Metadata Assembly in this
article:-
http://msdn.microsoft.com/en-us/library/aa446500.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility
 
Dear Peter
im using the ImageButton provided by microsoft with some enhancement, when i use and dll it design of the button and images is disabled, can i solve this without creating the button as dll? can i create an xmta file without creating another project for the control?



Peter Foot wrote:

You need to create an XMTA file for the control - this contains XML markup to
20-Aug-09

You need to create an XMTA file for the control - this contains XML markup
to describe the control. See creating the Metadata Assembly in this
article:-
http://msdn.microsoft.com/en-us/library/aa446500.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility

Previous Posts In This Thread:

Custom Control Not Showing Preview during design time
Hello,


I have created Gradient Button control by extending control class.

When i drag it on a form it is not showing any preview during design time.
I have downloaded image button control from Microsoft site. when we drag
that control on form it shows the preview during design time.

i have checked whole source code but still i am not about to make it possible.

Can any one help me in this matter.

i want to show preview of custom control on form during design time.

You need to create an XMTA file for the control - this contains XML markup to
You need to create an XMTA file for the control - this contains XML markup
to describe the control. See creating the Metadata Assembly in this
article:-
http://msdn.microsoft.com/en-us/library/aa446500.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility

EggHeadCafe - Software Developer Portal of Choice
CRM 4.0 Backup instruction
http://www.eggheadcafe.com/tutorial...f7-5681eb4519a2/crm-40-backup-instructio.aspx
 
Back
Top