Click here to Skip to main content
16,012,025 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How can we set Height and width to polygon shape Pin
User 2710098-Jun-09 18:29
User 2710098-Jun-09 18:29 
GeneralRe: How can we set Height and width to polygon shape Pin
wpfhelp8-Jun-09 21:28
wpfhelp8-Jun-09 21:28 
GeneralRe: How can we set Height and width to polygon shape Pin
User 27100918-Jun-09 18:59
User 27100918-Jun-09 18:59 
GeneralRe: How can we set Height and width to polygon shape Pin
wpfhelp28-Jun-09 22:37
wpfhelp28-Jun-09 22:37 
QuestionDatagrid in WPF Pin
Nekkantidivya3-Jun-09 18:26
Nekkantidivya3-Jun-09 18:26 
AnswerRe: Datagrid in WPF Pin
RugbyLeague4-Jun-09 4:48
RugbyLeague4-Jun-09 4:48 
AnswerRe: Datagrid in WPF Pin
Niladri_Biswas6-Jun-09 4:14
Niladri_Biswas6-Jun-09 4:14 
QuestionMoving an Image Element [modified] Pin
Tee1233-Jun-09 5:19
Tee1233-Jun-09 5:19 
I was wondering if anyone knew how I can give the user the ability to move an image element. Basically, I want to be able to allow the user to drag the image over a listbox and have a drop effect. Below is my xaml code:
<StackPanel Grid.Row="0">
        <Border CornerRadius="4" Background="LightYellow"  BorderBrush="Black" BorderThickness="2">
                    <Label x:Name="location" HorizontalAlignment="Center" Height="30" FontSize="12" VerticalAlignment="Center">Person Information</Label>
                </Border>
                    <Image Width="150" Height="150"  Margin="5" PreviewMouseLeftButtonDown="gridImage_PreviewMouseLeftButtonDown" PreviewMouseMove="gridImage_PreviewMouseMove" x:Name="gridImage" >
Image.RenderTransform>
                        <TranslateTransform x:Name="imgTranslate" X="0" Y="0" />
                    </Image.RenderTransform>
                </Image>
            </StackPanel>


I'm currently using the PreviewMouseLeftButton and PreviewMouseMove buttons to create a drop effect and this works fine; but I would like to make it more animated to where the user is actually dragging the image. Thanks.

Terrance C.

modified on Wednesday, June 3, 2009 11:37 AM

AnswerRe: Moving an Image Element Pin
User 2710099-Jun-09 1:51
User 2710099-Jun-09 1:51 
GeneralRe: Moving an Image Element Pin
Tee1239-Jun-09 2:07
Tee1239-Jun-09 2:07 
Question32bit Compiled WPF App - 64bit WOW Mode Pin
Jammer3-Jun-09 5:02
Jammer3-Jun-09 5:02 
QuestionStyling ScrollBar of WPF datagrid Pin
vsaratkar2-Jun-09 5:25
vsaratkar2-Jun-09 5:25 
AnswerRe: Styling ScrollBar of WPF datagrid Pin
#realJSOP2-Jun-09 6:04
professional#realJSOP2-Jun-09 6:04 
GeneralRe: Styling ScrollBar of WPF datagrid Pin
vsaratkar2-Jun-09 7:03
vsaratkar2-Jun-09 7:03 
AnswerRe: Styling ScrollBar of WPF datagrid Pin
Mark Salsbery2-Jun-09 7:16
Mark Salsbery2-Jun-09 7:16 
AnswerRe: Styling ScrollBar of WPF datagrid Pin
Mark Salsbery2-Jun-09 7:27
Mark Salsbery2-Jun-09 7:27 
GeneralRe: Styling ScrollBar of WPF datagrid Pin
Jammer2-Jun-09 8:11
Jammer2-Jun-09 8:11 
GeneralRe: Styling ScrollBar of WPF datagrid Pin
vsaratkar2-Jun-09 9:00
vsaratkar2-Jun-09 9:00 
QuestionBinding Commands to Events? Pin
Steve The Plant2-Jun-09 3:29
Steve The Plant2-Jun-09 3:29 
AnswerRe: Binding Commands to Events? Pin
Pete O'Hanlon2-Jun-09 3:52
mvePete O'Hanlon2-Jun-09 3:52 
GeneralRe: Binding Commands to Events? Pin
Steve The Plant2-Jun-09 4:12
Steve The Plant2-Jun-09 4:12 
AnswerRe: Binding Commands to Events? Pin
Steve The Plant3-Jun-09 2:53
Steve The Plant3-Jun-09 2:53 
GeneralRe: Binding Commands to Events? Pin
Pete O'Hanlon3-Jun-09 3:07
mvePete O'Hanlon3-Jun-09 3:07 
GeneralRe: Binding Commands to Events? [modified] Pin
Niladri_Biswas3-Jun-09 17:24
Niladri_Biswas3-Jun-09 17:24 
GeneralRe: Binding Commands to Events? Pin
Pete O'Hanlon3-Jun-09 21:40
mvePete O'Hanlon3-Jun-09 21:40 

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.