Answer on Question#40359- Programming, C#
1. My development PC's LCD size is 17-inch. I develop application which fits to my LCD. Every controls is placed at proper place and whole screen area is used.
Problem is that end-users of this application has different screen size i.e. 17, 19, 21, 15 and e.t.c.
End-users (having screen size greater than 17) demanded to use all screen area by spreading controls and increasing size of controls
while end-users (having screen size less than 17) demanded that application form should be fit on screen instead of scroll bars.
Please guide and share useful links if any. I don't want to write separate code for all end-users due to only screen size.
Solution.
Adding layout controls (Windows Store apps using C#/VB/C++ and XAML)
Learn how to create and use layout controls to arrange elements of your app UI.
Roadmap: How does this topic relate to others? See:
- Roadmap for Windows Store apps using C# or Visual Basic
- Roadmap for Windows Store apps using C++
The XAML UI framework for Windows Store apps using C++, C#, or Visual Basic provides several panels for arranging controls and content. Each panel arranges a collection of child elements in a different way.
Canvas
StackPanel
Grid
VariableSizedWrapGrid
There are several controls that are used to affect the appearance or scale of a single child element. These controls can be used with a single UI element, or with a panel that contains many elements.
Border
ScrollViewer
Viewbox
The topics in this section describe how to create and use layout panels and view controls.
In this section
templates
Thumb styles and templates
This topic describes the styles and templates for the Thumb control.
Related topics
- Quickstart: Defining layouts
- Roadmap for Windows Store apps using C# or Visual Basic
- Roadmap for Windows Store apps using C++
Comments
hey contact at cs.solutions.ca@gmail.com i can help u