index > WPF Designer ("Cider") > Design Surface in CIDER

Design Surface in CIDER


I was willing to know what makes up the Design Surface in Cider ? Is it a class derived from Canvas class or Panel class or something else ?
Also, since there is no Winforms DesignSurface equivalent here, is there a way to customize the CIDER Design Surface in the current CTP's ?

Thanks.
Nir.
Npotnis

I believe the outermost control is a Decorator.

What kind of customization were you thinking about?

mark




- mark(bou), Microsoft. (This post is provided "as-is")
Mark Boulter
Hi Mark,

Actually I was thinking about ways to subclass the DesignSurface in CIDER. Is that possible ?
(some of the customizations I had in mind were having a zoomable design surface or having a grid on the surface).
Thanks.

Npotnis

In our first release the design surface itself is not customizable or seperately hostable (in the way the Windows Forms design surface is). This is a long term goal but for our first release we felt that this was not as important as having the "end user" features such as snap lines in the designer or as important as being able to write design time for controls. You will be able to write design time for controls - all of the features you see in the designer today are built using our extensibility model and you will be able to build similar features - Jim has examples on his blog - for example http://blogs.msdn.com/jnak/archive/2006/08/04/687166.aspx

mark




- mark(bou), Microsoft. (This post is provided "as-is")
Mark Boulter
Thanks Mark.
Can I download the sample code for the example in Jim's blog from anywhere? It will be really helpful.

Npotnis
reply 5

You can use google to search for other answers

 

More Articles

• Where (specifically) should I ask HowTo questions about XAML and ...
• Adorner cannot show upon WindowsFormsHost
• Can't drag controls onto XAML designer
• Package Load Failure
• avoiding right arrow presses after entering a quoted property
• February CTP Cider
• Components in CIDER
• Default Settings for the Designer
• Preview version available?
• Can't read Y coordinate value when resizing window in Designer
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

• WinFX Data Binding using VS 2005
• Localization Support
• Design-time extensions to Cider and Spar
• How to delete a control on a form?
• Warning: ZIndex attribute is not declared
• BitmapEffects.... What the???
• Accessing objects/controls within templa
• Drag and Drop Column Headers for a custo
• Preview version available?
• Where are those FAQs, etc?
• how can i switch off the default design
• Cider type initializer error
• BSOD when running Cider
• Auto-refactor doesn't work in the Cider
• User controls

Hot Articles

• RC1 support?
• Adding Custom Control to Cider Toolbox -
• Design-time extensions to Cider and Spar
• WinFX Data Binding using VS 2005
• Data binding and images
• forcing uppercase in text
• Designer not showing up
• How to delete a control on a form?
• XmlDataProvider error in XAML
• Announcing the Cider May CTP! (for WinFX
• Can't go directly to XAML edit
• Q&A: .Net Framework 3.0 JulyCTP and
• Cider Glossary
• problem orcas converts old sln and vcpro
• Binding sample causes error in VS

Recommend Articles

• Install problem?
• Jan CTP
• Hidding a Sub-Grid with in the MainGrid(
• Unnecessary fractions
• Cannot download Expression Graphic Desig
• Announcing the Cider September CTP! (for
• How to delete a control on a form?
• Mismatched versions of PresentationCore.
• GetPositionFromPoint causes object refer
• SplitView Designer/Xaml store problems
• Toolbar with Image control in XAML Page
• Can't drag controls onto XAML designer
• CTP's
• Design Surface in CIDER
• Design-time extensions to Cider and Spar