Click here to Skip to main content
15,885,244 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Member 1539432816-Oct-21 1:40
Member 1539432816-Oct-21 1:40 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Eddy Vluggen16-Oct-21 3:13
professionalEddy Vluggen16-Oct-21 3:13 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Gerry Schmitz16-Oct-21 9:46
mveGerry Schmitz16-Oct-21 9:46 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? --- Solved Pin
Member 1539432817-Oct-21 4:44
Member 1539432817-Oct-21 4:44 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Gerry Schmitz17-Oct-21 11:30
mveGerry Schmitz17-Oct-21 11:30 
Question(xaml, wpf) ScrollViewer Binding confusion (beginner) Pin
Maximilien7-Oct-21 8:46
Maximilien7-Oct-21 8:46 
AnswerRe: (xaml, wpf) ScrollViewer Binding confusion (beginner) Pin
Richard Deeming7-Oct-21 21:47
mveRichard Deeming7-Oct-21 21:47 
AnswerRe: (xaml, wpf) ScrollViewer Binding confusion (beginner) Pin
Gerry Schmitz8-Oct-21 9:57
mveGerry Schmitz8-Oct-21 9:57 
I don't understand your apprehension about the "direct" approach ... or is this another "MVVM" thing?
private void Containers_OnTargetUpdated(object? Sender, DataTransferEventArgs E) {

   this.Scroller.ScrollToHome();

}

The compiler recognize the name you gave to the ScrollViewer in the XAML (for that page / control); you don't need "reflection" in this case.

For other "public" cases, add a public "getter" for the control in question.

I assume you have some idea when the ItemsSource to the list is changed; set the scroll then if event handling is too confusing.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food

QuestionCurrency Entry Issue Pin
Kevin Marois7-Oct-21 7:23
professionalKevin Marois7-Oct-21 7:23 
AnswerRe: Currency Entry Issue Pin
Richard Deeming7-Oct-21 21:44
mveRichard Deeming7-Oct-21 21:44 
GeneralRe: Currency Entry Issue Pin
Kevin Marois8-Oct-21 6:03
professionalKevin Marois8-Oct-21 6:03 
QuestionQuick MVVM Design Question Pin
Kevin Marois5-Oct-21 7:34
professionalKevin Marois5-Oct-21 7:34 
AnswerRe: Quick MVVM Design Question Pin
Mycroft Holmes5-Oct-21 13:39
professionalMycroft Holmes5-Oct-21 13:39 
AnswerRe: Quick MVVM Design Question Pin
Pete O'Hanlon5-Oct-21 20:26
mvePete O'Hanlon5-Oct-21 20:26 
GeneralRe: Quick MVVM Design Question Pin
Richard Deeming5-Oct-21 21:34
mveRichard Deeming5-Oct-21 21:34 
GeneralRe: Quick MVVM Design Question Pin
Gerry Schmitz6-Oct-21 9:52
mveGerry Schmitz6-Oct-21 9:52 
AnswerRe: Quick MVVM Design Question Pin
#realJSOP9-Nov-21 23:37
mve#realJSOP9-Nov-21 23:37 
QuestionPage/Frame Pin
michaelbarb23-Sep-21 10:12
michaelbarb23-Sep-21 10:12 
AnswerRe: Page/Frame Pin
Gerry Schmitz24-Sep-21 12:48
mveGerry Schmitz24-Sep-21 12:48 
GeneralRe: Page/Frame Pin
michaelbarb24-Sep-21 13:24
michaelbarb24-Sep-21 13:24 
QuestionStuck with Weird Exceptions Pin
Kevin Marois7-Sep-21 13:51
professionalKevin Marois7-Sep-21 13:51 
AnswerRe: Stuck with Weird Exceptions Pin
Richard Deeming7-Sep-21 21:28
mveRichard Deeming7-Sep-21 21:28 
GeneralRe: Stuck with Weird Exceptions Pin
Kevin Marois8-Sep-21 4:58
professionalKevin Marois8-Sep-21 4:58 
QuestionDisable ComboBox Hyperlinks Pin
Kevin Marois19-Aug-21 12:43
professionalKevin Marois19-Aug-21 12:43 
AnswerRe: Disable ComboBox Hyperlinks Pin
Richard Deeming19-Aug-21 21:35
mveRichard Deeming19-Aug-21 21:35 

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.