All Questions
22
questions
-1
votes
2
answers
74
views
How can I bind the visibility of a StackPane to a property?
I have a few StackPanes that I only want to display for a specific value of a ComboBox. I've gotten the property to change as I want it to, but for some reason, the StackPane visibility doesn't update ...
0
votes
1
answer
128
views
Visibility/binding problem with a usercontrol base class
I have an app and a class library.
I'm using ninject to bind all viewmodels and Syncfusion as a third party extension.
The main app displays a RibbonGallery that contain Sine and Triangle waves.
...
0
votes
1
answer
557
views
Execute Two RelayCommands On One Button Press - WPF
I have a button that allows the user to register an account. When the user presses the button I have a relay command execute a method that submits their details to the database. If successful, I then ...
0
votes
0
answers
181
views
Transfer from one User control to another using EnumVisibilityConverter - WPF
When the user presses on a button I want to display a new UserControl. I have created an EnumVisibilityConverter and want to set the enum to display a different user control called login when the ...
0
votes
1
answer
1k
views
WPF binding to Visibility of an Itemtemplate of a Listview not working [duplicate]
I am using WPF Prism.Mvvm.
I have a navigation bar on the side containing a Listview bound to an Itemssource. Those Items contain an image and the content. Now my goal is to collapse the content of ...
0
votes
0
answers
102
views
Why is wpf combobox not being drawn, even though the visibility is set to "true"?
I have a Combobox whose Visibility is bound to a bool Property in ViewModel. The Combobox is located inside a stackPanel:
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
...
0
votes
1
answer
712
views
WPF Set Visibility on DataTemplate UI Element from MVVM View Model
I have a control that is set up as a DataTemplate:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/...
0
votes
2
answers
65
views
Animation not correct when bound to a visibility property(Oddity)
The issue that I'm having is that any time I change a visibility property to trigger a loading animation (i.g. isBusy = true) via a command in the MVVM model the animation doesn't play out correctly. ...
0
votes
2
answers
241
views
A simple way in WPF MVVM to reuse property method?
I am new to WPF MVVM. Here's what my viewmodel is doing:
A button is pressed and a ping command is launched to see if servers are availables:
-If true, the button is set to Hidden.
-If false, a ...
1
vote
0
answers
748
views
Avalondock MVVM - Visibility
again I have problably a simple problem:
I'm trying to build a very simple MVVM - Application:
XAML:
<StackPanel>
<StackPanel.Resources>
<ad:...
3
votes
3
answers
348
views
WPF- Create a list of Visibilities
In this moment, I'm working with WPF and MVVM. I have in a UniformGrid with 30 buttons, each one with specific DynamicResource and specific Content (Text). I need to manage the visibility for each ...
0
votes
1
answer
478
views
StackPanel visibility VS Grid Visibility
I am using MVVM application and there is something that don't understand..
What is the difference between StackPanel visibility and Grid Visibility.
if I have this Grid...
<UserControl x:Class="...
0
votes
1
answer
225
views
Failing to Add UserControl To Existing Grid on SelectedItem in ListBox
I am new into WPF. I am currently developing an application where my solution in MSVC# 2010 has 2 projects. One project(i.e.MSPBoardControl) has a mainwindow.xaml and I have added another wpf window ...
0
votes
3
answers
780
views
How to keep elements hidden until listbox selection in parent is made?
I have a view in XAML where I have a listbox, and a selection in that listbox populates an area to the side with properties from the selected instance of the ChildViewModel. I have a few buttons in ...
5
votes
1
answer
8k
views
XamDataGrid column visibilty is not working using MVVM
I'm trying to implement XamDataGrid column visibilty in a MVVM architecture and it does not seems to be working.
I'm doing the following:
Adding Visiblility property for an unbound field -
<...