Click here to Skip to main content
15,894,291 members
Home / Discussions / WPF
   

WPF

 
QuestionUsing a static class to call child Usercontrols functions from a parent window button click event Pin
Stephen Holdorf19-Sep-16 5:55
Stephen Holdorf19-Sep-16 5:55 
AnswerRe: Using a static class to call child Usercontrols functions from a parent window button click event Pin
Gerry Schmitz19-Sep-16 7:14
mveGerry Schmitz19-Sep-16 7:14 
GeneralRe: Using a static class to call child Usercontrols functions from a parent window button click event Pin
Stephen Holdorf19-Sep-16 8:36
Stephen Holdorf19-Sep-16 8:36 
GeneralRe: Using a static class to call child Usercontrols functions from a parent window button click event Pin
Gerry Schmitz19-Sep-16 10:36
mveGerry Schmitz19-Sep-16 10:36 
GeneralRe: Using a static class to call child Usercontrols functions from a parent window button click event Pin
incipire12-Oct-16 9:06
professionalincipire12-Oct-16 9:06 
QuestionSilverlight listbox is keeping the focus on more than one items Pin
indian14318-Sep-16 18:24
indian14318-Sep-16 18:24 
QuestionHow can I call xbap from client browser Pin
indian14316-Sep-16 6:57
indian14316-Sep-16 6:57 
QuestionWPF Expander Pin
Itamar Gigi12-Sep-16 0:22
Itamar Gigi12-Sep-16 0:22 
Hello,
i'm working with expanders in MVVM and i trying to get notification in the viewmodel when the expander is already opened and when it's opened i want to make print screen to the expander content.
and the scenario is like this:

1)i open the expander that binded to IsExpanderOpen property in the VM and fill the details i want
2)i close the expander (don't ask why it's only example)
3)press OK to save the details of expander controls in DB
4)the OK i pressed call to realycommand 'OpenExpander()' that execute the line IsExpanderOpen=true
5)then i make print screen to the content of opened expander(but it captures closed expander)

this scenario doesn't work because the viewmodel doesn't know to wait the xaml to be rendered when the expander is opended.
i don't want code behind so is there any way to know when the ui is already render the operation
and only then to trigger the viewmodel?
AnswerRe: WPF Expander Pin
Pete O'Hanlon12-Sep-16 2:22
mvePete O'Hanlon12-Sep-16 2:22 
GeneralRe: WPF Expander Pin
Itamar Gigi12-Sep-16 2:36
Itamar Gigi12-Sep-16 2:36 
GeneralRe: WPF Expander Pin
Pete O'Hanlon12-Sep-16 2:58
mvePete O'Hanlon12-Sep-16 2:58 
GeneralRe: WPF Expander Pin
Itamar Gigi12-Sep-16 3:09
Itamar Gigi12-Sep-16 3:09 
GeneralRe: WPF Expander Pin
Itamar Gigi12-Sep-16 2:39
Itamar Gigi12-Sep-16 2:39 
GeneralRe: WPF Expander Pin
Itamar Gigi12-Sep-16 2:45
Itamar Gigi12-Sep-16 2:45 
QuestionDynamic ContentControl > Style > DataTemplate....binding problem! Pin
Jayme658-Sep-16 6:46
Jayme658-Sep-16 6:46 
QuestionListView SelectionChanged event not firing for the first already selected row. Pin
Stephen Holdorf7-Sep-16 7:40
Stephen Holdorf7-Sep-16 7:40 
AnswerRe: ListView SelectionChanged event not firing for the first already selected row. Pin
Stephen Holdorf9-Sep-16 5:52
Stephen Holdorf9-Sep-16 5:52 
QuestionWPF Listbox - How to keep the scrolling from changing the property? Pin
dbrenth6-Sep-16 3:49
dbrenth6-Sep-16 3:49 
QuestionDoes width and height need to be explicitly defined in ControlTemplate? Pin
Imagiv5-Sep-16 6:35
Imagiv5-Sep-16 6:35 
QuestionComboBox - SelectedValue and SelectedItem Pin
Mycroft Holmes31-Aug-16 14:48
professionalMycroft Holmes31-Aug-16 14:48 
QuestionWPF: Reading a document's bytes into a stream to store in a database table. Pin
Stephen Holdorf31-Aug-16 10:47
Stephen Holdorf31-Aug-16 10:47 
AnswerRe: WPF: Reading a document's bytes into a stream to store in a database table. Pin
Pete O'Hanlon31-Aug-16 11:16
mvePete O'Hanlon31-Aug-16 11:16 
QuestionUWP. How to find out size of uwp Windows.Storage element? Pin
wind te26-Aug-16 22:42
wind te26-Aug-16 22:42 
AnswerRe: UWP. How to find out size of uwp Windows.Storage element? Pin
Pete O'Hanlon31-Aug-16 12:29
mvePete O'Hanlon31-Aug-16 12:29 
QuestionClosing a static WPF Window from other Window instances. Pin
Stephen Holdorf23-Aug-16 3:23
Stephen Holdorf23-Aug-16 3:23 

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.