Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

XAML - C++ for code-behing

Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
rincewind
Guest


 

XAML - C++ for code-behing

Is it possible at all to write code-behind files in C++/CLI?
If yes, could somebody please point me at a sample project file?


Old 01-10-2006   #2 (permalink)
Rob Relyea [MSFT]
Guest


 

Re: XAML - C++ for code-behing

No, sorry, it is not possible to use C++ in code behind yet. The C++ team
needs to do some work to make that possible.

See
http://www.longhornblogs.com/rrelyea...ingStyles.aspx
Today, C++ can be used to do coding style 1 & 2, but not 3.

Thanks, Rob Relyea [msft]
Program Manager, WPF Team
http://longhornblogs.com/rrelyea


"rincewind" <fake@not.real> wrote in message
news:uUeTC%23UCGHA.4016@TK2MSFTNGP11.phx.gbl...
> Is it possible at all to write code-behind files in C++/CLI?
> If yes, could somebody please point me at a sample project file?
>



Old 01-10-2006   #3 (permalink)
rincewind
Guest


 

Re: XAML - C++ for code-behing

"Rob Relyea [MSFT]" <Rob.Relyea@microsoft.com> wrote in message
news:%23Z7TLx$CGHA.1312@TK2MSFTNGP09.phx.gbl...
> ...

Thanks for answering!

> The C++ team needs to do some work to make that possible.

Does this imply that there's an intention to make it possible some day to
use C++ in code behind? What is this work that needs to be done - is it just
some tools, like MSBuild, or the language iteself needs to be changed (like
adding partial classes, etc)?



Old 01-10-2006   #4 (permalink)
Rob Relyea [MSFT]
Guest


 

Re: XAML - C++ for code-behing

This wouldn't be language work, but build system/project system/codedom work
for the C++ team.

Partial classes aren't necessary...we have x:Class and x:Subclass to support
languages that don't support partial classes.

The C++ team is interested in enabling this scenario in the future.
Customer feedback will help them prioritize this work. Please let them know
you are interested.

Thanks,
Rob Relyea
WPF Program Manager
http://longhornblogs.com/rrelyea

"rincewind" <fake@not.real> wrote in message
news:%23%23dtlxGDGHA.3784@TK2MSFTNGP15.phx.gbl...
> "Rob Relyea [MSFT]" <Rob.Relyea@microsoft.com> wrote in message
> news:%23Z7TLx$CGHA.1312@TK2MSFTNGP09.phx.gbl...
>> ...

> Thanks for answering!
>
>> The C++ team needs to do some work to make that possible.

> Does this imply that there's an intention to make it possible some day to
> use C++ in code behind? What is this work that needs to be done - is it
> just some tools, like MSBuild, or the language iteself needs to be changed
> (like adding partial classes, etc)?
>
>
>



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
XAML code libraries? Jim Galasyn Avalon 0 05-13-2006 11:58 AM
Questions on XAML code behind api Jonathan Nix Avalon 1 01-31-2006 06:59 AM
Accessing items in XAML from code Griff Avalon 3 01-12-2006 02:07 AM
Connecting a C# code behind file to the declarations of controlsin XAML. Jason Dolinger Avalon 2 01-10-2006 03:52 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50