Click here to Skip to main content
15,878,959 members
Home / Discussions / WPF
   

WPF

 
QuestionUse .XAP file in ASP.Net Website Pin
pavanip2-Apr-09 2:42
pavanip2-Apr-09 2:42 
AnswerRe: Use .XAP file in ASP.Net Website Pin
Mark Salsbery2-Apr-09 5:21
Mark Salsbery2-Apr-09 5:21 
QuestionWPF codes to play a RTSP multicast or unicast video stream Pin
jklanka1-Apr-09 21:48
jklanka1-Apr-09 21:48 
QuestionKeep element in canvas when dragging it Pin
Pauwels Bart1-Apr-09 20:19
Pauwels Bart1-Apr-09 20:19 
AnswerRe: Keep element in canvas when dragging it Pin
ABitSmart1-Apr-09 21:17
ABitSmart1-Apr-09 21:17 
QuestionRe: Keep element in canvas when dragging it Pin
Pauwels Bart1-Apr-09 23:30
Pauwels Bart1-Apr-09 23:30 
AnswerRe: Keep element in canvas when dragging it Pin
ABitSmart2-Apr-09 5:05
ABitSmart2-Apr-09 5:05 
QuestionRe: Keep element in canvas when dragging it Pin
Pauwels Bart2-Apr-09 7:22
Pauwels Bart2-Apr-09 7:22 
I tried that already. The problem with that is that I don't have a reference to the canvas so I can't get the width of it. Or am I totally wrong Confused | :confused: (It is weekend now for me so I can't recheck it but in a few days my mind is clear again and I can get a fresh start)

That adorner class (derives from Adorner like you know) is separated from my canvas class. I only call it when initializing a new UIElement on the canvas to adorn that element (and it stays adorned until I close the program or the UIElement is deleted). I guess that after I have added the adorner, that adorner only knows his element (this.AdornedElement) and nothing else. The actions I take from then with that adorner, can only affect Attached Properties (Like SetLeft, ... + I have made some extra attached properties in my Canvas class).

I can be totally wrong. If you want to know, I'm only programming for a few months without a proper eduction for it (I had programming on school but only basics). I'm learning it all myself (C# and WPF) and I need to make program for a company where I'm kind of an intern (1 year internship in a foreign country after getting my degree to get some experience before going to work in my own country).

Hope you can say that I'm wrong and it is that simple (but I missed something) Poke tongue | ;-P
AnswerRe: Keep element in canvas when dragging it [modified] Pin
ABitSmart2-Apr-09 7:50
ABitSmart2-Apr-09 7:50 
GeneralRe: Keep element in canvas when dragging it Pin
Pauwels Bart2-Apr-09 8:45
Pauwels Bart2-Apr-09 8:45 
GeneralRe: Keep element in canvas when dragging it Pin
Pauwels Bart4-Apr-09 18:32
Pauwels Bart4-Apr-09 18:32 
GeneralRe: Keep element in canvas when dragging it Pin
ABitSmart4-Apr-09 19:42
ABitSmart4-Apr-09 19:42 
GeneralRe: Keep element in canvas when dragging it Pin
Pauwels Bart4-Apr-09 19:54
Pauwels Bart4-Apr-09 19:54 
QuestionWPF or Windows Forms Pin
dfreeser1-Apr-09 12:00
dfreeser1-Apr-09 12:00 
AnswerRe: WPF or Windows Forms Pin
Pete O'Hanlon1-Apr-09 22:03
mvePete O'Hanlon1-Apr-09 22:03 
AnswerRe: WPF or Windows Forms Pin
RugbyLeague2-Apr-09 5:40
RugbyLeague2-Apr-09 5:40 
GeneralRe: WPF or Windows Forms Pin
dfreeser2-Apr-09 5:56
dfreeser2-Apr-09 5:56 
QuestionSet style definition dynamically Pin
salon1-Apr-09 3:46
salon1-Apr-09 3:46 
AnswerRe: Set style definition dynamically Pin
Mark Salsbery1-Apr-09 7:42
Mark Salsbery1-Apr-09 7:42 
GeneralRe: Set style definition dynamically Pin
salon1-Apr-09 20:48
salon1-Apr-09 20:48 
GeneralRe: Set style definition dynamically Pin
Mark Salsbery2-Apr-09 5:26
Mark Salsbery2-Apr-09 5:26 
QuestionSys.InvalidOprationException.ManageRunTimeError error #4004 in control 'Xaml1 Pin
Piyush Vardhan Singh1-Apr-09 0:17
Piyush Vardhan Singh1-Apr-09 0:17 
AnswerRe: Sys.InvalidOprationException.ManageRunTimeError error #4004 in control 'Xaml1 Pin
Piyush Vardhan Singh1-Apr-09 2:02
Piyush Vardhan Singh1-Apr-09 2:02 
QuestionHorizontal scrollbar in empty listview disappears Pin
Pankaj Chamria31-Mar-09 23:22
Pankaj Chamria31-Mar-09 23:22 
AnswerRe: Horizontal scrollbar in empty listview disappears Pin
ABitSmart1-Apr-09 1:03
ABitSmart1-Apr-09 1:03 

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.