Click here to Skip to main content
15,878,809 members

Comments by vickyanand25005 (Top 10 by date)

vickyanand25005 22-May-16 12:54pm View    
Thanks Shmuel :-). Can we do it without using the converter?
vickyanand25005 22-May-16 3:00am View    
Deleted
[Unwanted code removed — SA]
vickyanand25005 21-May-16 11:32am View    
Hi Sergey Sorry for the incomplete question. I have updated the question with what I have tried so far.Please take a look and let me know what i am missing. Thanks:)
vickyanand25005 21-May-16 11:21am View    
[Unwanted code removed... — SA]
vickyanand25005 21-May-16 11:12am View    
Deleted
Sorry for the incomplete question. I have tried this so far:

The problem with the below code is when I am entering the value in any one of the textbox , the button is getting enabled and what I want is that the button should be enabled only when all the textbox has some value.

I hope I am clear this time.

<window x:class="WpfApplication3.MainWindow"
="" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApplication3" mc:ignorable="d" title="MainWindow" height="350" width="525">
<window.resources>
<Style TargetType="TextBox" x:ke>
<Style.Triggers>
<multitrigger>
<multitrigger.conditions>
<condition property="Text" value="">

<multitrigger.setters>
<setter property="Button.IsEnabled" value="False">


</Style.Triggers>
</Style>


<grid margin="0,192,0,0">
<textbox x:name="txt_Titel" margin="137,-149,260,241">
<textbox x:name="textBox" horizontalalignment="Left" height="23" margin="137,-91,0,0" textwrapping="Wrap" text="" verticalalignment="Top" width="120">
<textbox x:name="textBox1" horizontalalignment="Left" height="23" margin="137,-63,0,0" textwrapping="Wrap" text="" verticalalignment="Top" width="120">
<Button Content="Transfer" />
<grid>