Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I found the next page of reference:
.NET for Windows Store apps APIs[^]

I wanna do graphics and find:
Windows namespaces[^]

And something is like going wrong - there are so few types!? And that is all?
Where are simple shapes to draw?

But then i go to Windows.UI.Xaml.Shapes [^] and choose Ellipse[^]

I feel like it is not supported in .Net, but wait - i see:
Quote:
C#
public sealed class Ellipse : Shape

And i have read somewhere on web it is supported by .Net and it also shows:

Quote:
Namespace
Windows.UI.Xaml.Shapes
Windows::UI::Xaml::Shapes [C++]

The one (no C++) is .Net?

At the end i open .NET Framework and Windows Runtime namespaces[^] and it shows much more namespaces, but not all of them and their sub types should be supported or no?

I also open Roadmap for Windows Runtime apps using C# or Visual Basic[^] and then go to Quickstart: Drawing shapes (XAML)[^] and it shows how to draw shapes that i can't find in the reference!

I just need a reference for .Net Store apps.
What do i do wrong?
Posted
Updated 12-Apr-15 8:23am
v6
Comments
Style-7 13-Apr-15 2:17am    
Describe your task. You can create canvas and put shapes on it. I did it for my clock app using C#.
Ziya1995 13-Apr-15 3:18am    
What? I don't get what you say(
You can read the question again.

I feel like i can create Windows Runtime apps using C#, but without .Net for Windows store apps?

1 solution

You use the subset of .Net Framework called .Net for Windows Store apps to bring C# functionality to Windows Runtime.
Windows Runtime (WinRT) is unmanaged, but C# is managed, how?
You use .Net for Windows Store apps types along with WinRT types and during execution .Net will interop with unmanaged WinRT types.

.NET for Windows Store apps APIs[^] shows types supported by .Net subset that you use alongside with unmanaged WinRT types.
So it is not only types you have by C#)

You can use any unamanged WinRT type by C# in this way.
 
Share this answer
 
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900