Click here to Skip to main content
15,908,931 members
Home / Discussions / WPF
   

WPF

 
QuestionApplication download error in XBAP application after deploying the application Pin
indian14319-Sep-16 7:41
indian14319-Sep-16 7:41 
AnswerRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming19-Sep-16 8:20
mveRichard Deeming19-Sep-16 8:20 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14319-Sep-16 10:37
indian14319-Sep-16 10:37 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming19-Sep-16 10:43
mveRichard Deeming19-Sep-16 10:43 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14320-Sep-16 10:02
indian14320-Sep-16 10:02 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming21-Sep-16 2:37
mveRichard Deeming21-Sep-16 2:37 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14321-Sep-16 6:29
indian14321-Sep-16 6:29 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming21-Sep-16 6:32
mveRichard Deeming21-Sep-16 6:32 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14321-Sep-16 6:48
indian14321-Sep-16 6:48 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming21-Sep-16 6:51
mveRichard Deeming21-Sep-16 6:51 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14321-Sep-16 8:03
indian14321-Sep-16 8:03 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming21-Sep-16 8:42
mveRichard Deeming21-Sep-16 8:42 
GeneralRe: Application download error in XBAP application after deploying the application Pin
indian14321-Sep-16 13:54
indian14321-Sep-16 13:54 
GeneralRe: Application download error in XBAP application after deploying the application Pin
Richard Deeming22-Sep-16 1:46
mveRichard Deeming22-Sep-16 1:46 
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 
I have a situation where I am trying to change the visibility of StackPanels in a child UserControl from a button in the parent window. I created a custom class below that holds a static reference to the UserControl value and in the UserControl View constructor the user control value is assigned to the static EditWindow class uc static value. Now what I am trying to do is hide and show StackPanels in the child UserControl view the button in the parent window is clicked. When the button is clicked the StackPanels are not changing from Collapsed to Visible. All of the code is below:

EditWindow.cs

public static class EditWindow
{
    public static string buttonString;
    public static Button button;

    // This is the UserControl
    public static View.ApplicationInfoView uc;

}

// UserControl as a View in the parent window:

<v:ApplicationInfoView />

ApplicationInfoView StackPanels

<StackPanel Name="Sp1">

<StackPanel Name="Sp2">

<StackPanel Name="Sp2">

// UserControl - ApplicationInfoView in the constructor

EditWindow.uc = this;

// Button Click event in the Parent Window

private void btnEdit_Click(object sender, RoutedEventArgs)
{
    EditWindow.uc.editAppInfo();
}

// editAppInfo method in the UserControl -  //ApplicationInfoView 

editAppInfo()
{
    EditWindow.uc.sp1.Visibility = Visibility.Collapsed;
    EditWindow.uc.sp2.Visibility = Visibility.Visible;
    EditWindow.uc.sp3.Visibility = Visibility.Visibile;
}

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 
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 

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.