Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight Silverlight5 , +
Please can anyone help me for this question ........
i want to make paint software in silverlight i have done drag and drop of all shapes in canvas but now i want to make then re-sizable.........
Posted 13-Sep-12 23:31pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi govindaAlwani,
 
I am guessing a bit here because your question is a little short in backgound information but, ensure you are setting your widths and heights as * and also that you are not setting widths and heights anywhere.
 
For examlple, if it were a Grid it would look something like the following for each control:
<Grid.RowDefinitions>
        <RowDefinition Height="*" />
        <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You should take a look at this article here:
WPF Diagram Designer: Part 1[^]
 
Its in WPF, but you should be able to use them in Silverlight also.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 595
1 OriginalGriff 295
2 CPallini 210
3 PIEBALDconsult 150
4 Fredrik Bornander 140
0 OriginalGriff 5,835
1 Sergey Alexandrovich Kryukov 5,263
2 CPallini 4,750
3 George Jonsson 3,227
4 Gihan Liyanage 2,487


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 23 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100