Jump to content

XAML and WPF

- - - - -

  • Please log in to reply
17 replies to this topic

#1
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
i'm new at this field of C#...

first question is how similar is XML to XAML...does XAML have predefined tags like html or not like XML...

second question is does WPF support same methods and classes like WinForms???

#2
Momerath

Momerath

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 243 posts
1) XAML is a subset of XML (as is HTML). It does have predefined tags.
2) Yes and No :) WPF has it's own control classes, which don't have all the same methods. The rest of the classes in .NET can be used.

#3
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
is there any list of predefined tags for xaml and for wpf classes???

#4
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
and i hope there wouldn't be any problem if i learned xml before (for xaml)

#5
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
Hey Tonchi, you should start somewhere's around here.

Windows Presentation Foundation

Though, if you're using Visual Studio, you may not need to worry too much about memorizing the controls right away, Visual Studio has a built in Graphical designer. You can even look at it in split view, so you can see how what you do in the designer affects the code.

#6
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
i'm planning to use VS 2010 pro and blend for WPF

#7
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
do you mean, you will run for example, a windows forms application, with WPF components? (blend)

There are some facilities in place to do that, but it might not be as integrated as you think. I'd be interested to know how that works out.

#8
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
no no no i will just do wpf project in VS and after that do some changes on design in blend

#9
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
AH! Nice, even so, would still like to hear how it turned out.
I personally don't have much professional experience with WPF, but some of the guys I work with have done some pretty amazing things with it.

#10
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
tell me if i'm correct...WPF is same thing as WinForms but with XAML to make bether visualization on specific form

#11
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
nope! =)

WPF is very different.

It has a lot of special traits. For example, the controls are vector based, and scale to vastly different sizes, very easily.

They are also more flexable. For example, you could in theory, embed combo boxes, with buttons and picture boxes in them, inside combo box items.

It's worth a read up, WPF is very cool!

#12
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
how to see color types in blend...i want to use some unspecific color for background on my WPF window




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users