Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
Amit Mehra
Jean Paul
Home
>>
Forum
>>
WPF
>>
Post New Question
Subscribe to Forum
Designing a wpf page based on screen resolution
Posted By:
rajesh
Posted Date:
May 23, 2012
Points:
5
Category :
WPF
Hi fnds
I need to design my wpf page with with controls like grid, rectange, path, buttons etc... based on screen resolution. Even if the screen resolution changes my wpf page desgin should't have any effect and change. It should remain intact. Expecting a solution fnds.
Regards,
Rajesh MV
Responses
Author:
Mohanraj
Company URL:
http://www.dotnetspark.com
Posted Date: July 17, 2012 Points: 20
hi,
Try this
<Window x:Class="YourApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="YourApplication"
Height="{Binding SystemParameters.PrimaryScreenHeight}"
Width="{Binding SystemParameters.PrimaryScreenWidth}">
Regards,
Mohanraj
Post Reply
You must
Sign In
To post reply
Related Questions Related Questions
ASP.NET - Web page designing - Best practices
Problem in Resolution screen in c#
Screen Resolution
run particular function in a page automatically based on time
User can not select TEXT for copy paste from my .aspx page...
Latest Forum Questions From The Same Category
How To Find the Combobox in Wpf
Getting Row Value is null in WPF.
Combobox Binding in WPF
Add button to datagrid Dynamially in wpf
Detecting Mobile Device IMEI, IMSI, Model, Comport Information using AT commands in VB.Net
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Here
Quick Links For Forum Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
OOPs
Silverlight
IIS
JQuery
JavaScript/VBScript
Biztalk
WPF
Patten/Practices
WCF
Others
www.DotNetSpark.com
UnAnswered
All
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend