Click here to Skip to main content
15,922,155 members
Home / Discussions / WPF
   

WPF

 
QuestionExtending wpf print dialog Pin
Andreas X15-Apr-13 20:15
professionalAndreas X15-Apr-13 20:15 
AnswerRe: Extending wpf print dialog Pin
Kenneth Haugland17-Apr-13 21:00
mvaKenneth Haugland17-Apr-13 21:00 
GeneralRe: Extending wpf print dialog Pin
Andreas X17-Apr-13 22:38
professionalAndreas X17-Apr-13 22:38 
GeneralRe: Extending wpf print dialog Pin
Kenneth Haugland17-Apr-13 23:14
mvaKenneth Haugland17-Apr-13 23:14 
GeneralRe: Extending wpf print dialog Pin
Andreas X18-Apr-13 0:27
professionalAndreas X18-Apr-13 0:27 
QuestionThe best way to display live log output to a WPF windows. Pin
Daudaka15-Apr-13 5:25
Daudaka15-Apr-13 5:25 
AnswerRe: The best way to display live log output to a WPF windows. Pin
Mycroft Holmes15-Apr-13 12:47
professionalMycroft Holmes15-Apr-13 12:47 
AnswerRe: The best way to display live log output to a WPF windows. Pin
Andreas X15-Apr-13 21:34
professionalAndreas X15-Apr-13 21:34 
QuestionButton sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd13-Apr-13 22:52
professionalVimalsoft(Pty) Ltd13-Apr-13 22:52 
AnswerRe: Button sizes become small in a stackpanel Pin
Abhishek Sur20-Apr-13 1:46
professionalAbhishek Sur20-Apr-13 1:46 
GeneralRe: Button sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd21-Apr-13 3:08
professionalVimalsoft(Pty) Ltd21-Apr-13 3:08 
GeneralRe: Button sizes become small in a stackpanel Pin
Abhishek Sur21-Apr-13 11:20
professionalAbhishek Sur21-Apr-13 11:20 
GeneralRe: Button sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd22-Apr-13 1:27
professionalVimalsoft(Pty) Ltd22-Apr-13 1:27 
Questionlistview with many textboxes Pin
vaishali thaker11-Apr-13 22:50
vaishali thaker11-Apr-13 22:50 
AnswerRe: listview with many textboxes Pin
Abhinav S12-Apr-13 0:01
Abhinav S12-Apr-13 0:01 
AnswerRe: listview with many textboxes Pin
vaishali thaker15-Apr-13 1:16
vaishali thaker15-Apr-13 1:16 
QuestionWPF ComboBox From Enum - Filter List Pin
Kevin Marois11-Apr-13 19:31
professionalKevin Marois11-Apr-13 19:31 
AnswerRe: WPF ComboBox From Enum - Filter List Pin
Mycroft Holmes13-Apr-13 13:24
professionalMycroft Holmes13-Apr-13 13:24 
GeneralRe: WPF ComboBox From Enum - Filter List Pin
SledgeHammer0113-Apr-13 14:48
SledgeHammer0113-Apr-13 14:48 
GeneralRe: WPF ComboBox From Enum - Filter List Pin
Mycroft Holmes13-Apr-13 20:36
professionalMycroft Holmes13-Apr-13 20:36 
GeneralRe: WPF ComboBox From Enum - Filter List Pin
SledgeHammer0113-Apr-13 20:42
SledgeHammer0113-Apr-13 20:42 
QuestionMaintain WPF Window Size across different resolution monitors Pin
Vimalsoft(Pty) Ltd9-Apr-13 23:47
professionalVimalsoft(Pty) Ltd9-Apr-13 23:47 
Good Day

I am building a Kinect Applications. So i am using WPF on my laptop with the resolution of

1920 * 1080

so everything looks great and last night , i wanted to test it on my Samsung HD TV 42 inch Plasma and my Buttons went missing.

So my TV resolution is 1024 x 768(NATIVE)

so i reduced my resolution to 1024 x 768 on my laptop and i experienced the same thing my TV was experiencing.

I need an Advice to adjust my apps layout to accommodate all resolutions from

1024 x 768(NATIVE) and higher resolution.

Here is an example of a Page that i have , so basically i am using navigation service i have one window that hold the frame and i make it full-screen and others are just pages.



HTML
<Page x:Class="SchoolPlay1.MainMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  
        xmlns:local="clr-namespace:Microsoft.Samples.Kinect.ControlsBasics"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
        xmlns:k="http://schemas.microsoft.com/kinect/2013" 
        xmlns:tk="clr-namespace:Microsoft.Kinect.Toolkit;assembly=Microsoft.Kinect.Toolkit"  
     KeepAlive="false"
       Height="1008.94" Width="2086.684"
	Title="MainMenu">
    <Page.Background>
        <ImageBrush ImageSource="/SchoolPlay1;component/Background/Background_Math.png" />
    </Page.Background>
    <Grid Canvas.Top="-16" x:Name="LayoutRoot" Width="1636">

        <Grid Grid.Row="0"  Margin="10,0,0,19.6"> 
            <k:KinectUserViewer k:KinectRegion.KinectRegion="{Binding ElementName=kinectRegion}" Height="100" HorizontalAlignment="Center" VerticalAlignment="Top" />
        </Grid>

        <k:KinectRegion x:Name="kinectRegion" Margin="-226,10,-224,6.8" HorizontalAlignment="Right" Width="2086">
            <Grid x:Name="kinectRegionGrid" Margin="10,20,160,19.8">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="170" />
                </Grid.RowDefinitions>


                <k:KinectTileButton   x:Name="btnAlphabets"     Canvas.Left="386"  Width="Auto" Height="Auto" Canvas.Top="98"   Click="btnAlphabets_Click" Background="{x:Null}" BorderBrush="{x:Null}" Margin="29,53,1521.4,153.4">
                    <Image Source="/SchoolPlay1;component/MainMenuImages/Final_Alphabet.png" Height="426" Width="342"  />
                </k:KinectTileButton>


                <k:KinectTileButton  x:Name="btnMath" Width="Auto" Height="Auto"  Canvas.Top="98"  Click="btnMath_Click" Canvas.Left="10" Background="{x:Null}" BorderBrush="{x:Null}" Margin="400,53,1137.4,153.4">
                    <Image Source="MainMenuImages/MathMenu.png" Height="429" Width="352"  />
                </k:KinectTileButton>

                <k:KinectTileButton   x:Name="btnFruitAndVeg"     Canvas.Left="702"   Canvas.Top="117" Width="Auto" Height="Auto"  Click="btnFruitAndVeg_Click_1" Background="{x:Null}" BorderBrush="{x:Null}" Margin="810,109,783.4,153.4">
                    <Image Source="MainMenuImages/FruitAndVegMenu.png" Height="386" Width="302"  />
                </k:KinectTileButton>
                <k:KinectTileButton   x:Name="btnMiscellaneouss"      Width="Auto" Height="Auto"   Background="{x:Null}" BorderBrush="{x:Null}" Margin="1161,141,431.4,198.4" Click="btnMiscellaneouss_Click" IsEnabled="False"  >
                    <Image Source="MainMenuImages/Miscellaneous_Menu.png" Height="526" Width="302"  />
                </k:KinectTileButton>
                <k:KinectTileButton    Background="{x:Null}" BorderBrush="{x:Null}"  x:Name="btnBack"      Click="btnBack_Click"   Height="Auto" Width="Auto" Margin="-212,257,211.4,-88" Grid.RowSpan="2"  >

                    <Image Source="NavigationButtons/Back.png" Height="200" Width="500"  />
                </k:KinectTileButton>

            </Grid>
        </k:KinectRegion>
        <tk:KinectSensorChooserUI HorizontalAlignment="Center" VerticalAlignment="Top" x:Name="sensorChooserUi" Margin="461,10,538,0" />
      
    </Grid>
</Page>


Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com

AnswerRe: Maintain WPF Window Size across different resolution monitors Pin
Jason Gleim11-Apr-13 10:11
professionalJason Gleim11-Apr-13 10:11 
GeneralRe: Maintain WPF Window Size across different resolution monitors Pin
Vimalsoft(Pty) Ltd11-Apr-13 10:17
professionalVimalsoft(Pty) Ltd11-Apr-13 10:17 
QuestionAsynchronous Design Issue Pin
Mycroft Holmes8-Apr-13 16:13
professionalMycroft Holmes8-Apr-13 16:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.