1
그럼, 내 manipange.xaml에서이 같은, 내 응용 프로그램 막대 선언, 내 버튼 선언/정의를 가지고 내가 다른 일부 속성을 변경하려고appbar 윈도우 폰 8 MVVM
<phone:PhoneApplicationPage.ApplicationBar>
<shell:ApplicationBar x:Name="xxxx" IsVisible="True" IsMenuEnabled="True">
<shell:ApplicationBarIconButton
x:Name="appBarRegisterButton"
IconUri="/Images/next.png"
Text="Login"
Click="appBarRegisterButton_Click_1" IsEnabled="True"/>
</shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>
모델, fe. 내 등록 모델입니다.
public RegisterViewModel()
{
RegisterTitle = Resources.AppResources.RegisterTitle;
Messenger.Default.Register<RegisterButtonPressed>(this, msg => AttemptToRegister(msg.reg));
}
private void AttemptToRegister(Register reg)
{
reg.appBarRegisterButton.IsEnabled = true;
}
변경되지 않습니다. 내 등록 버튼이 더 좋지 않습니다. 아무도이를 해결할 방법이 없습니다./
감사합니다. 친구, 내 생명을 구했어.) – Przmak
당신은 환영합니다 :) – robertk