2014-11-24 3 views
1

전 전체 XAML 시련에 초보자입니다. 도움이 필요해.XAML/C++ 진행률 막대

this->ProgressBar1->Value += 1; 
//This is the target value 
if (this->ProgressBar1->Value == 10) 
{ 
    //this line of code just doesnt work... icannot compile Please help. 
    this->ProgressBar1->Visibility = Visibility->Collapsed; 
} 

답변

0

하는 네임 스페이스를 사용하는 것이 필요 : 나는 기본적으로 내가 내 목표 값에 도달 한 후 progessbar 사라 갖고 싶어 ... 축소에 진행 표시 줄 가시성을 설정하는 방법을 알 필요가 ... 여기에 코드입니다

this->ProgressBar1->Visibility = Windows::UI::Xaml::Visibility::Collapsed; 
+0

고마워, 나는 그것을 시도 할 것이다. – Ethandecohen