Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to make an applications that works like Word, Excel, Power Point etc... I mean if you maximize or change the window size to something different the program will always adjust the inside elements in a very nice way.
I'm creating a new "WindowsFormsApplication" in Visual Studio 2012 with C#
Thanx !!
Check out http://avalondock.codeplex.com/, it provides a Visual Studio style interface out of the box, and is very extensible.
Last time I checked it didn't support MVVM so well, but that might not be such a problem.
Dynamic resizing in WinForms is very easy, and most (if not all) of the behavior you want can likely be achieved simply by choosing the right controls and property settings.
To get started in the right direction, read up on the following topics:
Control.Anchor Property
Control.Dock Property
TableLayoutPanel Class
FlowLayoutPanel Class
It is easy enough to create a quick test app and drop some controls on it to see how they behave. No coding required.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
C#, .NET Framework 4.8, WinForms:
I want to create a vertical icon bar with the same look & feel as in Microsoft Teams (see picture).
So also hovering, highlighting, short cuts, etc. should be the same.
Which of the standard controls is the best for this? Would you take a TreeView? Or do I need to make a custom control? How is it solved in MS Teams?
I have no Idea how this is made in MS Teams, but what I should do I create a custom view with the selector on the left with a visibility state, so when you select one of the items, you change the background color and make the selector visible at the selected item. This will result in a similar design as in MS Teams!
I hope you can start working on it, just ask if you can't figure something out!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm new with C# programming, I always used Java. I'm trying to make a very simple version of a jumper (such as Doodle Jump) on Visual Studio and I created a WPF project. I need to know the best and the most common way to repaint the object on a canvas (like the player and the platforms, that are all rectangles), so that the objects keep to be updated (for example when I move the player etc.). Thanks in advance.
I suggest you take a look at transformations. One of the wonderful things about WPF is that you usually don't have to worry about the animation clock or repainting the screen when things change. To move something around the screen, like a rectangle, all you have to do is attach a transformation to it, then update the properties of the transformation. WPF's background rendering thread will automatically take care of the screen update. That article should get you started. Also check out Storyboards to do more elaborate animations.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Can someone please inform me of the correct tabbed control that is in the below image:
Thanks.
There are different alternatives to create interface elements as the one shown in your picture and the most standard way is using TabControl.
But standard TabControl does't have functionalities like docking, pinning and close button. So if you really need such functionality you can create such component or consider using this open source library:
DockPanelSuite
DockPanel Suite - The Visual Studio inspired docking library for .NET
WinForms
Screenshot:
Additional Resource:
A good article about using component set
SockPanelSuite Wiki
if I understand your question correctly it is just a sample TabControl
With a uniqe visual studio style to the header
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What choice is the best one, coding or drop and click to generate xaml code?
If you are gonna work with visualization before doing coding or maybe doing both, should the process be taken in VS 2010 or Blend?
Is there any similiar code of WPF's C# WPF in other context for instance in Biztalk, sharepoint (except Winform) etc?
I heard that Microsoft Blend should be used for creating prototype only, is that true? Is Blend strong enough to work with user interface?
WPF makes it simple to separate the look&feel of the application and the logic behind.
Blend is used to create styles, and may be used to create GUI prototypes. All this work however can be done in VS too. It's only a matter of convenience.
If you're using Visual Studio you can install Xaml power toys add-in which is able to do many different things for you (eg. generating DataGrid columns of a business form for an entity class)
I heard that Microsoft Blend should be used for creating prototype only, is that true?
Blend is all about what you see. Vs is about the code.
If you are gonna work with visualization before doing coding or maybe doing both, should the process be taken in VS 2010 or Blend?
Definitely blend.
What choice is the best one, coding or drop and click to generate xaml code?
Doesn't matter. You do what's faster for you. I prefer typing, but someone else might prefer clicking.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I've a project where i need to allow users to design their own pages for their application. So i want to create a designer/editor using ASP.NET/C# or silverlight or using anyother MS technologies. The designer should have the following features
Drag and drop controls
Move the controls in the designer to
position it
Preview mode/Source Mode
Property Window for Controls with specific properties
I've not any designer as a hosted application. I basically want to create something similar to visual studio designer as a web app. Any insights on how to approach this?
Silverlight fits perfectly for that.
Drag and Drop is possible too.
So if your user is fine with installing Silverlight it's the best way, in my opinion.
Let me know if you have any questions