Click here to Skip to main content
15,887,214 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: how to close wpf window if i click outside the wpf window Pin
Gerry Schmitz23-Apr-12 10:20
mveGerry Schmitz23-Apr-12 10:20 
QuestionOpening context menu just above item in win 8 metro app Pin
nitin_ion22-Apr-12 23:47
nitin_ion22-Apr-12 23:47 
AnswerRe: Opening context menu just above item in win 8 metro app Pin
Satish Pai23-Apr-12 0:53
Satish Pai23-Apr-12 0:53 
Questionwp7 project Pin
heba abu ghaleih22 20-Apr-12 23:30
heba abu ghaleih22 20-Apr-12 23:30 
AnswerRe: wp7 project Pin
997586424321-Apr-12 2:12
997586424321-Apr-12 2:12 
GeneralRe: wp7 project Pin
heba abu ghaleih22 21-Apr-12 2:21
heba abu ghaleih22 21-Apr-12 2:21 
GeneralRe: wp7 project Pin
Wes Aday21-Apr-12 2:49
professionalWes Aday21-Apr-12 2:49 
QuestionDisable button from one control in another control Pin
nitin_ion20-Apr-12 0:10
nitin_ion20-Apr-12 0:10 
Hi I am working on Win 8 metro app buid in silverlight.

I have two controls Control1 and Control2

Control2 is inside Control1

Control2 has a listview and Control1 has buttons. Clicking on listview has to disable buttons in Control1.

I tried to achieve this from code behind by using
public bool OverriddenFlag
   {
       get { return _overriddenFlag; }
       set
       {
           _overriddenFlag= value;
           NotifyPropertyChanged("OverriddenFlag");
       }
   }

and
in xaml
<Button x:Name="ShowDetails" 
FontWeight="bold" FontSize="12"
Content="+" Click="ShowDetails_Click" 
IsEnabled="{Binding OverriddenFlag, Mode=OneWay}"
/>


but it didn't have the desired effect.
How can I disable buttons. Any idea?
AnswerRe: Disable button from one control in another control Pin
Wes Aday20-Apr-12 0:38
professionalWes Aday20-Apr-12 0:38 
GeneralRe: Disable button from one control in another control Pin
nitin_ion20-Apr-12 1:00
nitin_ion20-Apr-12 1:00 
GeneralRe: Disable button from one control in another control Pin
Wes Aday20-Apr-12 1:41
professionalWes Aday20-Apr-12 1:41 
GeneralRe: Disable button from one control in another control Pin
nitin_ion20-Apr-12 2:01
nitin_ion20-Apr-12 2:01 
GeneralRe: Disable button from one control in another control Pin
Wes Aday20-Apr-12 2:33
professionalWes Aday20-Apr-12 2:33 
GeneralRe: Disable button from one control in another control Pin
nitin_ion20-Apr-12 2:59
nitin_ion20-Apr-12 2:59 
GeneralRe: Disable button from one control in another control Pin
nitin_ion20-Apr-12 3:53
nitin_ion20-Apr-12 3:53 
AnswerRe: Disable button from one control in another control Pin
dhirajonnet27-Apr-12 2:24
professionaldhirajonnet27-Apr-12 2:24 
QuestionNo fields in XamDataGrid Pin
Ignaton19-Apr-12 23:00
Ignaton19-Apr-12 23:00 
AnswerRe: No fields in XamDataGrid Pin
Mycroft Holmes20-Apr-12 13:32
professionalMycroft Holmes20-Apr-12 13:32 
GeneralRe: No fields in XamDataGrid Pin
Ignaton22-Apr-12 18:16
Ignaton22-Apr-12 18:16 
Questionwcf Pin
heba abu ghaleih22 19-Apr-12 9:38
heba abu ghaleih22 19-Apr-12 9:38 
AnswerRe: wcf Pin
Abhinav S19-Apr-12 16:05
Abhinav S19-Apr-12 16:05 
GeneralRe: wcf Pin
heba abu ghaleih22 20-Apr-12 22:10
heba abu ghaleih22 20-Apr-12 22:10 
QuestionBuilding WPF UI for editing simple XML Pin
Mahesha99919-Apr-12 4:38
Mahesha99919-Apr-12 4:38 
AnswerRe: Building WPF UI for editing simple XML Pin
Richard MacCutchan19-Apr-12 4:59
mveRichard MacCutchan19-Apr-12 4:59 
AnswerRe: Building WPF UI for editing simple XML Pin
Gerry Schmitz19-Apr-12 12:34
mveGerry Schmitz19-Apr-12 12:34 

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.