Click here to Skip to main content
15,887,746 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Bind to property in static instance of class Pin
Ian Shlasko14-Sep-11 4:27
Ian Shlasko14-Sep-11 4:27 
GeneralRe: Bind to property in static instance of class Pin
Mc_Topaz14-Sep-11 4:54
Mc_Topaz14-Sep-11 4:54 
GeneralRe: Bind to property in static instance of class Pin
Ian Shlasko14-Sep-11 5:00
Ian Shlasko14-Sep-11 5:00 
GeneralRe: Bind to property in static instance of class Pin
Pete O'Hanlon14-Sep-11 4:39
mvePete O'Hanlon14-Sep-11 4:39 
GeneralRe: Bind to property in static instance of class Pin
Mc_Topaz14-Sep-11 4:49
Mc_Topaz14-Sep-11 4:49 
QuestionWPF: Unable to set MouseOver effect for ComboBox Pin
All Time Programming13-Sep-11 0:39
All Time Programming13-Sep-11 0:39 
AnswerRe: WPF: Unable to set MouseOver effect for ComboBox Pin
Ian Shlasko14-Sep-11 4:40
Ian Shlasko14-Sep-11 4:40 
QuestionInfinite Scrolling in Canvas Pin
Praveen Raghuvanshi12-Sep-11 2:40
professionalPraveen Raghuvanshi12-Sep-11 2:40 
Hi,

I am working on canvas and need to implement infinite scrolling towards the top and bottom.

I have a grid which contains the scrollviewer whose content is the custom canvas. The canvas contains some custom objects which have been drawn over the canvas and bears the drag and drop functionality.

When I drag any object towards right/bottom, scroll bars appear and gives space to put the object.
However, this functionality is not there for top/left scrolling. So, when a object is dragged towards left/top and it reaches the end, the canvas is not resized in order to accomodate the new position of object.
I know, its because canvas has a origin as 0,0 and width and height as infinite.
Currently, user has to 'Select All' all the displayed objects in the canvas and drag towards the right/bottom in order to create a new object towards left/top of it.

Searched and found this link http://www.eggheadcafe.com/software/aspnet/32319058/wpf--scroll-canvas-to-objects-beyon-top-or-left-side.aspx[] of some help, unfortunately unable to mimic the behavior in my application.
Is the use of MeasureOverride() and ArrangeOverride() method is appropriate in this situation?

The best example for infinite scrolling towards right/bottom is Excel sheet. I am looking for the same behavior for left and top.

Please let me know for any clarifications.

Thanks in advance!!!
Praveen

AnswerRe: Infinite Scrolling in Canvas Pin
tom-englert19-Sep-11 20:42
tom-englert19-Sep-11 20:42 
GeneralUser must not be able to open same site again in other browser or tab Pin
Satish Pai8-Sep-11 7:33
Satish Pai8-Sep-11 7:33 
GeneralRe: User must not be able to open same site again in other browser or tab Pin
Pete O'Hanlon8-Sep-11 9:10
mvePete O'Hanlon8-Sep-11 9:10 
AnswerRe: User must not be able to open same site again in other browser or tab Pin
Simon Bang Terkildsen9-Sep-11 9:08
Simon Bang Terkildsen9-Sep-11 9:08 
QuestionHow to place a multiple window controls inside one window control in WPF Pin
Rocky236-Sep-11 1:52
Rocky236-Sep-11 1:52 
AnswerRe: How to place a multiple window controls inside one window control in WPF Pin
Wayne Gaylard6-Sep-11 2:13
professionalWayne Gaylard6-Sep-11 2:13 
GeneralRe: How to place a multiple window controls inside one window control in WPF Pin
Rocky236-Sep-11 2:47
Rocky236-Sep-11 2:47 
GeneralRe: How to place a multiple window controls inside one window control in WPF Pin
Pete O'Hanlon6-Sep-11 2:57
mvePete O'Hanlon6-Sep-11 2:57 
GeneralRe: How to place a multiple window controls inside one window control in WPF Pin
Wayne Gaylard6-Sep-11 3:00
professionalWayne Gaylard6-Sep-11 3:00 
AnswerRe: How to place a multiple window controls inside one window control in WPF Pin
Pete O'Hanlon6-Sep-11 2:15
mvePete O'Hanlon6-Sep-11 2:15 
QuestionWPF - basic data binding and "Save" x "Cancel changes" Pin
Member 10339075-Sep-11 5:33
Member 10339075-Sep-11 5:33 
AnswerRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
Pete O'Hanlon5-Sep-11 5:40
mvePete O'Hanlon5-Sep-11 5:40 
GeneralRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
SledgeHammer019-Sep-11 10:01
SledgeHammer019-Sep-11 10:01 
GeneralRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
SledgeHammer019-Sep-11 10:46
SledgeHammer019-Sep-11 10:46 
GeneralRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
SledgeHammer019-Sep-11 11:14
SledgeHammer019-Sep-11 11:14 
GeneralRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
SledgeHammer019-Sep-11 12:47
SledgeHammer019-Sep-11 12:47 
GeneralRe: WPF - basic data binding and "Save" x "Cancel changes" Pin
Alisaunder12-Sep-11 6:32
Alisaunder12-Sep-11 6:32 

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.