WPF with C# only?

hi,

can i work with the WPF using C# only (without xaml)?

if i want to create all of my shapes in the code (without using design software) why i need xaml?

[174 byte] By [omrivm] at [2007-12-22]
# 1

Yes. (There might be some limitations that I don't know of)
But I think it's a theoretical situation, as you wouldn't make an entire Windows-forms applications without using the designer.

XAML offers a chance to separate UI and Business logic. But you can choose not to use it.

Best regards,
Thomas Andersen

ThomasS.Andersen at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2
You could do it... but this would be violating the design principles. :) For a very small app this is fine - but for a larger app the separation of UI and logic gives many benefits in the long run.
lester-MSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3

the problem is that i want to write 3d app and as far as i know the designer dot not support 3d view so i dont need the designer...

omrivm at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 4
You might want to look at the zam3D app... its more targetted at creating 3D apps in WPF
lester-MSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 5
There are several converters on this page that will export XAML from popular designer tools.
AshishShetty-MSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 6

thanks,

but i dont want to work with prepared 3d objects, the objects are creating in run time dynamicly by the app. so i want to create them in c# instead of working with xaml.

(of course i'm talking about simple shaps like square and triangle)

is it possible?

omrivm at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 7
As mentioned in the previous post, this is possible in code
lester-MSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 8

sorry, i'll rephrase my post, how can i create simple 3d shaps in C# in run time? (color, shape ect'...)

how can i give them there location on the screen (3d location)?

and one more thing, can i create 3d shape (transparent or half-transparent ) that contain another 3d shaps (so when the "big" shape in moving the "small" shaps will move to)?

thanks,

omri

omrivm at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified