![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | how can i scale a complete window? Hello, how can i do that. As Sample see Windows Media Center. Thanks Thorsten |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: how can i scale a complete window? Use Viewbox, or ScaleTransform. You can find these in the documentation. - Doug > Hello, > > how can i do that. As Sample see Windows Media Center. > > Thanks > Thorsten |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: how can i scale a complete window? Hello, sorry but it's dont work. Viewbox: <Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" x:Name="DocumentRoot"> <DockPanel> <Image Source="E:\Eigene Bilder\Photos\DSC07686.JPG" Stretch="Fill" VerticalAlignment ="Stretch" HorizontalAlignment="Stretch"/> </DockPanel> </Viewbox> and ScaleTransform: <StackPanel> <Slider Width="520" Height="37" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.Column="0" Grid.ColumnSpan="1" Grid.Row="0" Grid.RowSpan="1" Margin="25,14,0,0" Name="Slider1" ValueChanged="OnValue" Maximum="1" /> <Image Name="Img" Source="E:\Eigene Bilder\Photos\DSC07686.JPG" Stretch="Fill" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.Column="0" Grid.ColumnSpan="1" Grid.Row="0" Grid.RowSpan="1"/> </StackPanel> Private Sub OnValue(ByVal sender As Object, ByVal e As RoutedPropertyChangedEventArgs(Of Double)) Dim st As New ScaleTransform(e.NewValue, e.NewValue) Img.LayoutTransform = st End Sub what is wrong? Thorsten "Douglas Stockwell" <doug@remove.11011.net> schrieb im Newsbeitrag news:eca9ec381353d98c835fd92465c00@news.microsoft.com... > Use Viewbox, or ScaleTransform. You can find these in the documentation. > > - Doug > >> Hello, >> >> how can i do that. As Sample see Windows Media Center. >> >> Thanks >> Thorsten > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| printing in grey scale | snakey | Vista print fax & scan | 1 | 07-11-2008 06:37 PM |
| Download Complete - Window does not close | otterit | Vista General | 5 | 05-09-2008 07:47 PM |
| Transparent Volume scale | Cory Mariani | Vista General | 3 | 04-13-2008 10:10 AM |
| Keeping wallpapers to scale | intclass | Vista music pictures video | 9 | 10-13-2006 12:49 AM |
| Complete scaling of a WPF window | Jason Dolinger | Avalon | 26 | 01-31-2006 06:59 AM |