Click here to Skip to main content
12,251,445 members (60,187 online)
Rate this:
 
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 23 Sep 2012
Copyright © CodeProject, 1999-2016
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