Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Hi every one i have one item control with drag and drop operation and its working fine. But my problem is i need to increase the image button size of itemscontrol as well as the window size. I had design the image button as custom design. Whenever i resize the window the controls of itemcontrol are also increased or decreased. but it is not happen. Here i give my Itemcontrol design. Please help me as soonas possible.

HTML
<grid grid.row="2" grid.columnspan="3" name="griddraganddrop">

                <scrollviewer x:name="svdraganddrop" horizontalalignment="Stretch" verticalalignment="Stretch" horizontalscrollbarvisibility="Disabled" verticalscrollbarvisibility="Hidden" xmlns:x="#unknown">
                    <itemscontrol x:name="ItemControlButton" draganddrop:dragdrophelper.dragdroptemplate="{StaticResource planetTemplateDrag}" draganddrop:dragdrophelper.isdragsource="True" draganddrop:dragdrophelper.isdroptarget="true" margin="5,10,5,5" horizontalalignment="Stretch" verticalalignment="Stretch" xmlns:draganddrop="#unknown">
                        <itemscontrol.itemspanel>
                            <itemspaneltemplate>
                                <wrappanel orientation="Horizontal" horizontalalignment="Stretch" verticalalignment="Stretch" name="WrapButton"></wrappanel>
                            </itemspaneltemplate>
                        </itemscontrol.itemspanel>
                        <itemscontrol.itemtemplate>
                            <datatemplate>

                            </datatemplate>
                        </itemscontrol.itemtemplate>
                    </itemscontrol>
                </scrollviewer>
            </grid>
Posted
Updated 16-Nov-11 19:34pm
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900