Click here to Skip to main content
15,899,754 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: User Control inside other User Control problem Pin
Jammer24-Jul-08 12:30
Jammer24-Jul-08 12:30 
GeneralRe: User Control inside other User Control problem Pin
Jammer24-Jul-08 12:42
Jammer24-Jul-08 12:42 
GeneralRe: User Control inside other User Control problem Pin
edu_fidi24-Jul-08 13:10
edu_fidi24-Jul-08 13:10 
QuestionProblems with scaling and stretching objects... Pin
gethomast23-Jul-08 9:52
gethomast23-Jul-08 9:52 
AnswerRe: Problems with scaling and stretching objects... Pin
Jammer23-Jul-08 11:48
Jammer23-Jul-08 11:48 
GeneralRe: Problems with scaling and stretching objects... Pin
gethomast23-Jul-08 20:24
gethomast23-Jul-08 20:24 
GeneralRe: Problems with scaling and stretching objects... Pin
Jammer23-Jul-08 23:59
Jammer23-Jul-08 23:59 
GeneralRe: Problems with scaling and stretching objects... Pin
Jammer24-Jul-08 0:30
Jammer24-Jul-08 0:30 
Lob this into a window and have a play around ...

<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="MultipleItemsInViewbox.Window1"
	x:Name="Window"
	Title="Window1"
	Width="200" Height="200">
	<Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="25"/>
		</Grid.RowDefinitions>
		<Viewbox Grid.Row="0" Grid.RowSpan="1" Stretch="UniformToFill">
			<Canvas Width="200" Height="200">
				<Path Fill="#FF008C38" Stretch="Fill" Stroke="#FF000000" Width="97.458" Height="76.636" Canvas.Left="23" Canvas.Top="33.172" Data="M23,53 L44.5,94.5 C44.5,94.5 108.5,131.5 110.5,86.5 112.5,41.5 136.5,40.500057 96.5,38.500066 56.5,36.500075 48.499938,26.500119 38.499962,40.500056 28.499987,54.499992 23,53 23,53 z" StrokeThickness="4"/>
				<Path Fill="#FF66FF00" Stretch="Fill" Stroke="#FF000000" StrokeThickness="4" Width="99.03" Height="95.15" Canvas.Left="78.394" Canvas.Top="25.137" Data="M95,63 C95,63 145,0 161,41 177,82 182,84.000101 164,100.00018 146,116.00025 146.00007,127.0003 113.00002,109.00022 79.999981,91.000132 92.999997,61.999804 82.999985,66.999801 72.999972,71.999797 95,63 95,63 z"/>
			</Canvas>
		</Viewbox>			
	</Grid>
</Window>


Jammer

Going where everyone here has gone before! Smile | :)
My Blog

GeneralRe: Problems with scaling and stretching objects... Pin
gethomast24-Jul-08 2:10
gethomast24-Jul-08 2:10 
QuestionUserControl = DataTemplate!! [modified] Pin
Jammer23-Jul-08 3:04
Jammer23-Jul-08 3:04 
AnswerRe: UserControl = DataTemplate!! Pin
Pete O'Hanlon23-Jul-08 4:06
mvePete O'Hanlon23-Jul-08 4:06 
GeneralRe: UserControl = DataTemplate!! Pin
Jammer23-Jul-08 5:51
Jammer23-Jul-08 5:51 
QuestionAccessing values of Xaml controls in the web site Pin
ACMA_198022-Jul-08 22:06
ACMA_198022-Jul-08 22:06 
AnswerRe: Accessing values of Xaml controls in the web site Pin
Michael Sync23-Jul-08 19:16
Michael Sync23-Jul-08 19:16 
QuestionWebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
248912822-Jul-08 21:58
248912822-Jul-08 21:58 
AnswerRe: WebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
Michael Sync23-Jul-08 13:53
Michael Sync23-Jul-08 13:53 
AnswerRe: WebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
raulgspan224-Jan-09 15:56
raulgspan224-Jan-09 15:56 
QuestionWPF Control Properties in XAML [modified] Pin
thrakazog22-Jul-08 9:02
thrakazog22-Jul-08 9:02 
AnswerRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 12:32
Jammer22-Jul-08 12:32 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 13:17
thrakazog22-Jul-08 13:17 
GeneralRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 13:20
Jammer22-Jul-08 13:20 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 13:39
thrakazog22-Jul-08 13:39 
GeneralRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 13:50
Jammer22-Jul-08 13:50 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 14:04
thrakazog22-Jul-08 14:04 
GeneralRe: WPF Control Properties in XAML Pin
chester22-Jul-08 14:10
chester22-Jul-08 14:10 

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.