![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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) |
| | 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) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Window Messenger icon closes before bootup of modem complete?? | Live Messenger | |||
| printing in grey scale | Vista print fax & scan | |||
| Download Complete - Window does not close | Vista General | |||
| Keeping wallpapers to scale | Vista music pictures video | |||