All Questions
8
questions
0
votes
1
answer
29
views
How to handle visibilty of properties in an UserControl?
I try to create a custom "TimePicker" - UserControl and struggle a bit with the design of the code.
In the XAML of the UserControl I created a ComboBox, which binds to a List<int> HoursList-...
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 ...
-1
votes
1
answer
905
views
using the visibility property for multiple usercontrol wpf
I have a scenario where i need to display multiple usercontrols based on their visibility property and show next visible control when the next button is clicked. I have added all the usercontrols in a ...
0
votes
2
answers
1k
views
Visibility of one user control to another user control
private void Button_Click(object sender, RoutedEventArgs e)
{
int selectedValue = (int)comboSelection.SelectedValue;
if (selectedValue == 8)
{
...
0
votes
3
answers
110
views
Hide a usercontrol present in Datagrid
I have a usercontrol which I am including in my datagrid column.
But I want to hide that usercontrol on the basis of certain condition.
I tried binding the visibility of that usercontrol but that is ...
2
votes
0
answers
321
views
Animating the visibility of a usercontrol
I've got a usercontrol that defines storyboards for visibility hide & show (Root is the top-level grid control in the usercontrol):
<Storyboard x:Key="VisibleStoryboard">
<...
0
votes
2
answers
4k
views
User control is not hiding in wpf
I created a UserControl like Popup which is displayed when user clicks on menu item.
If user clicks side that user control should be collapsed.
It works fine for me when user clicks side other than ...
4
votes
2
answers
780
views
Silverlight: FrameworkElement.FindName() not finding the control when it's not "visible" in the browser window
I'm having an issue where by I'm using the "FindName()" method of the FrameworkElement object to search for a child control of that element.
There's some interesting behavior that I've noticed and ...